gecko-dev/widget/gtk/mozgtk
Karl Tomlinson 42c19dece3 bug 1227008 use GtkPaperSize in GtkPageSetup directly, instead of maintaining a separate copy r=acomminos
Fixes a leak in nsPrintSettingsGTK::SetGtkPrintSettings() and
missed paper size copy in operator= (bug 965991).

GtkPageSetup always has a GtkPaperSize [1], which is returned from
gtk_page_setup_get_paper_size() as indicated in the docs [2]:
"Return value: the paper size" without "or NULL".

[1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n68
[2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n164

--HG--
extra : rebase_source : c554c9cb2c30380301fb4286efb9b52497c10d9d
2015-11-25 11:07:21 +13:00
..
gtk2 Bug 1187533 - Change how Gtk+2 plugin-container is started on Gtk+3 builds. r=billm 2015-07-28 08:19:13 +09:00
gtk3 Bug 1063359 - Unconditionally use -Wl,--no-as-needed when building with GNU ld/gold. r=mshal 2015-07-24 06:49:49 +09:00
stub Bug 1059113 - Use templates for shared libraries and frameworks. r=gps 2014-09-04 09:04:45 +09:00
moz.build
mozgtk.c bug 1227008 use GtkPaperSize in GtkPageSetup directly, instead of maintaining a separate copy r=acomminos 2015-11-25 11:07:21 +13:00