From b1b271ab091f21497aa2419f22df1c80680aa40c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 26 Mar 2016 18:53:55 -0400 Subject: [PATCH] Drop some more code This ifdefed out function was only used in the code I just nuked, so it can go as well. --- gtk/gtkfilechooserdialog.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index 2779d0e25c..db1d8f6de7 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -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)