Drop some more code
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Mar 2016 22:53:55 +0000 (18:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Mar 2016 22:53:55 +0000 (18:53 -0400)
This ifdefed out function was only used in the code I just nuked,
so it can go as well.

gtk/gtkfilechooserdialog.c

index 2779d0e25cfb3fdb9c7f0e069e9c6212d55eacf1..db1d8f6de7465a1ba36bafb68fb4433279bb5b73 100644 (file)
@@ -352,25 +352,6 @@ file_chooser_widget_file_activated (GtkFileChooser       *chooser,
     gtk_widget_activate (widget);
 }
 
-#if 0
-/* FIXME: to see why this function is ifdef-ed out, see the comment below in
- * file_chooser_widget_default_size_changed().
- */
-static void
-load_position (int *out_xpos, int *out_ypos)
-{
-  GtkFileChooserSettings *settings;
-  int x, y, width, height;
-
-  settings = _gtk_file_chooser_settings_new ();
-  _gtk_file_chooser_settings_get_geometry (settings, &x, &y, &width, &height);
-  g_object_unref (settings);
-
-  *out_xpos = x;
-  *out_ypos = y;
-}
-#endif
-
 static void
 file_chooser_widget_default_size_changed (GtkWidget            *widget,
                                           GtkFileChooserDialog *dialog)