[gtk+] Drop some more code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop some more code
- Date: Sat, 26 Mar 2016 22:54:29 +0000 (UTC)
commit b1b271ab091f21497aa2419f22df1c80680aa40c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 26 18:53:55 2016 -0400
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 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c
index 2779d0e..db1d8f6 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]