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:
Matthias Clasen 2006-04-24 15:08:18 +00:00 committed by Matthias Clasen
parent 738960c95e
commit 16eadc829a
3 changed files with 6 additions and 2 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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));