bug 1199602 give existing wrap_gtk_window_check_resize internal linkage r=acomminos
authorKarl Tomlinson <karlt+@karlt.net>
Wed, 24 Feb 2016 18:42:09 +1300
changeset 321992 307fa388360994c5515511320df3f2cd6085f3b0
parent 321991 f5e9eb7e2244ee2d0b41e0129e45acd642a7b4dd
child 321993 f2f4c8ce77a3c6415ed55740be32dc75187eaaf0
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersacomminos
bugs1199602
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1199602 give existing wrap_gtk_window_check_resize internal linkage r=acomminos
widget/gtk/nsAppShell.cpp
--- a/widget/gtk/nsAppShell.cpp
+++ b/widget/gtk/nsAppShell.cpp
@@ -44,17 +44,17 @@ PollWrapper(GPollFD *ufds, guint nfsd, g
     mozilla::HangMonitor::NotifyActivity();
     return result;
 }
 
 #if MOZ_WIDGET_GTK == 3
 // For bug 726483.
 static decltype(GtkContainerClass::check_resize) sReal_gtk_window_check_resize;
 
-void
+static void
 wrap_gtk_window_check_resize(GtkContainer *container)
 {
     GdkWindow* gdk_window = gtk_widget_get_window(&container->widget);
     if (gdk_window) {
         g_object_ref(gdk_window);
     }
 
     sReal_gtk_window_check_resize(container);