فهرست منبع

typo: has_fixed_size -> get_fixed_size

David Rose 16 سال پیش
والد
کامیت
b615117dff
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      panda/src/egldisplay/eglGraphicsWindow.cxx
  2. 1 1
      panda/src/x11display/x11GraphicsWindow.cxx

+ 1 - 1
panda/src/egldisplay/eglGraphicsWindow.cxx

@@ -827,7 +827,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) {
         size_hints_p->height = properties.get_y_size();
         size_hints_p->flags |= USSize;
 
-        if (properties.has_fixed_size()) {
+        if (properties.get_fixed_size()) {
           size_hints_p->min_width = properties.get_x_size();
           size_hints_p->min_height = properties.get_y_size();
           size_hints_p->max_width = properties.get_x_size();

+ 1 - 1
panda/src/x11display/x11GraphicsWindow.cxx

@@ -948,7 +948,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) {
         size_hints_p->height = properties.get_y_size();
         size_hints_p->flags |= USSize;
 
-        if (properties.has_fixed_size()) {
+        if (properties.get_fixed_size()) {
           size_hints_p->min_width = properties.get_x_size();
           size_hints_p->min_height = properties.get_y_size();
           size_hints_p->max_width = properties.get_x_size();