Browse Source

typo: has_fixed_size -> get_fixed_size

David Rose 16 years ago
parent
commit
b615117dff

+ 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->height = properties.get_y_size();
         size_hints_p->flags |= USSize;
         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_width = properties.get_x_size();
           size_hints_p->min_height = properties.get_y_size();
           size_hints_p->min_height = properties.get_y_size();
           size_hints_p->max_width = properties.get_x_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->height = properties.get_y_size();
         size_hints_p->flags |= USSize;
         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_width = properties.get_x_size();
           size_hints_p->min_height = properties.get_y_size();
           size_hints_p->min_height = properties.get_y_size();
           size_hints_p->max_width = properties.get_x_size();
           size_hints_p->max_width = properties.get_x_size();