Bug 901880 - Compile failure in nsColorPicker.cpp: error: ‘gtk_color_selection_dialog_get_color_selection’ was not declared in this scope, r=karlt, a=akeybl
authorFrank Wein <mcsmurf@mcsmurf.de>
Tue, 13 Aug 2013 09:01:20 +0200
changeset 153721 a4722ef7ae6143071297df6db13859c5225f636d
parent 153720 040bf8261a248657e59503419031070d0487514f
child 153722 258af60eb930ae620555002e79c2bc373e65d6b6
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt, akeybl
bugs901880
milestone25.0a2
Bug 901880 - Compile failure in nsColorPicker.cpp: error: ‘gtk_color_selection_dialog_get_color_selection’ was not declared in this scope, r=karlt, a=akeybl
widget/gtk2/compat/gtk/gtkcolorseldialog.h
widget/gtk2/compat/gtk/gtkcolorselectiondialog.h
rename from widget/gtk2/compat/gtk/gtkcolorselectiondialog.h
rename to widget/gtk2/compat/gtk/gtkcolorseldialog.h
--- a/widget/gtk2/compat/gtk/gtkcolorselectiondialog.h
+++ b/widget/gtk2/compat/gtk/gtkcolorseldialog.h
@@ -1,17 +1,17 @@
-#ifndef GTKCOLORSELECTIONDIALOG_WRAPPER_H
-#define GTKCOLORSELECTIONDIALOG_WRAPPER_H
+#ifndef GTKCOLORSELDIALOG_WRAPPER_H
+#define GTKCOLORSELDIALOG_WRAPPER_H
 
-#include_next <gtk/gtkselection.h>
+#include_next <gtk/gtkcolorseldialog.h>
 #include <gtk/gtkversion.h>
 
 #if !GTK_CHECK_VERSION(2, 14, 0)
 static inline GtkWidget*
 gtk_color_selection_dialog_get_color_selection(GtkColorSelectionDialog* colorseldialog)
 {
   GtkWidget* colorsel;
   g_object_get(colorseldialog, "color-selection", &colorsel, NULL);
   return colorsel;
 }
 #endif // GTK_CHECK_VERSION
 
-#endif // GTKCOLORSELECTIONDIALOG_WRAPPER_H
+#endif // GTKCOLORSELDIALOG_WRAPPER_H