[haiku-commits] r38725 - haiku/trunk/src/servers/app

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 19 Sep 2010 22:22:50 +0200 (CEST)

Author: czeidler
Date: 2010-09-19 22:22:49 +0200 (Sun, 19 Sep 2010)
New Revision: 38725
Changeset: http://dev.haiku-os.org/changeset/38725

Modified:
   haiku/trunk/src/servers/app/DesktopListener.cpp
   haiku/trunk/src/servers/app/DesktopListener.h
   haiku/trunk/src/servers/app/ServerWindow.cpp
Log:
Fix size limits function name.



Modified: haiku/trunk/src/servers/app/DesktopListener.cpp
===================================================================
--- haiku/trunk/src/servers/app/DesktopListener.cpp     2010-09-19 18:43:21 UTC 
(rev 38724)
+++ haiku/trunk/src/servers/app/DesktopListener.cpp     2010-09-19 20:22:49 UTC 
(rev 38725)
@@ -253,7 +253,7 @@
 
 
 void
-DesktopObservable::NotifySizeLimitChanged(Window* window, int32 minWidth,
+DesktopObservable::NotifySizeLimitsChanged(Window* window, int32 minWidth,
        int32 maxWidth, int32 minHeight, int32 maxHeight)
 {
        if (fWeAreInvoking)
@@ -262,7 +262,7 @@
 
        for (DesktopListener* listener = fDesktopListenerList.First();
                listener != NULL; listener = 
fDesktopListenerList.GetNext(listener))
-               listener->SizeLimitChanged(window, minWidth, maxWidth, 
minHeight,
+               listener->SizeLimitsChanged(window, minWidth, maxWidth, 
minHeight,
                        maxHeight);
 }
 

Modified: haiku/trunk/src/servers/app/DesktopListener.h
===================================================================
--- haiku/trunk/src/servers/app/DesktopListener.h       2010-09-19 18:43:21 UTC 
(rev 38724)
+++ haiku/trunk/src/servers/app/DesktopListener.h       2010-09-19 20:22:49 UTC 
(rev 38725)
@@ -58,9 +58,9 @@
 
        virtual void                            
WindowTabLocationChanged(Window* window,
                                                                        float 
location) = 0;
-       virtual void                            SizeLimitChanged(Window* 
window, int32 minWidth,
-                                                                       int32 
maxWidth, int32 minHeight,
-                                                                       int32 
maxHeight) = 0;
+       virtual void                            SizeLimitsChanged(Window* 
window,
+                                                                       int32 
minWidth, int32 maxWidth,
+                                                                       int32 
minHeight, int32 maxHeight) = 0;
 
        virtual bool                            SetDecoratorSettings(Window* 
window,
                                                                        const 
BMessage& settings) = 0;
@@ -109,7 +109,7 @@
 
                        void                            
NotifyWindowTabLocationChanged(Window* window,
                                                                        float 
location);
-                       void                            
NotifySizeLimitChanged(Window* window,
+                       void                            
NotifySizeLimitsChanged(Window* window,
                                                                        int32 
minWidth, int32 maxWidth,
                                                                        int32 
minHeight, int32 maxHeight);
 

Modified: haiku/trunk/src/servers/app/ServerWindow.cpp
===================================================================
--- haiku/trunk/src/servers/app/ServerWindow.cpp        2010-09-19 18:43:21 UTC 
(rev 38724)
+++ haiku/trunk/src/servers/app/ServerWindow.cpp        2010-09-19 20:22:49 UTC 
(rev 38725)
@@ -962,7 +962,7 @@
 
                        fLink.Flush();
 
-                       fDesktop->NotifySizeLimitChanged(fWindow, minWidth, 
maxWidth,
+                       fDesktop->NotifySizeLimitsChanged(fWindow, minWidth, 
maxWidth,
                                minHeight, maxHeight);
                        break;
                }


Other related posts:

  • » [haiku-commits] r38725 - haiku/trunk/src/servers/app - clemens . zeidler