mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Remove redundant code.
2006-04-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup): Remove redundant code.
This commit is contained in:
parent
738960c95e
commit
16eadc829a
@ -1,5 +1,8 @@
|
||||
2006-04-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
|
||||
Remove redundant code.
|
||||
|
||||
* gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API.
|
||||
|
||||
* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-04-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
|
||||
Remove redundant code.
|
||||
|
||||
* gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API.
|
||||
|
||||
* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
|
||||
|
@ -1168,8 +1168,6 @@ gtk_page_setup_unix_dialog_get_page_setup (GtkPageSetupUnixDialog *dialog)
|
||||
GtkPageSetup *page_setup;
|
||||
|
||||
page_setup = get_current_page_setup (dialog);
|
||||
if (page_setup == NULL)
|
||||
page_setup = gtk_page_setup_new ();
|
||||
|
||||
gtk_page_setup_set_orientation (page_setup, get_orientation (dialog));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user