gtkmm r1069 - in branches/gtkmm-2-12: . gtk/src
- From: arminb svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm r1069 - in branches/gtkmm-2-12: . gtk/src
- Date: Thu, 1 Jan 2009 14:45:41 +0000 (UTC)
Author: arminb
Date: Thu Jan 1 14:45:41 2009
New Revision: 1069
URL: http://svn.gnome.org/viewvc/gtkmm?rev=1069&view=rev
Log:
2009-01-01 Armin Burgmeier <armin openismus com>
* gtk/src/printer.ccg (SignalProxy_Custom_gtk_callback): Take a new
reference on the passed printer object, so that we don't unref it at
the end of the function (Tor Krill).
Modified:
branches/gtkmm-2-12/ (props changed)
branches/gtkmm-2-12/ChangeLog
branches/gtkmm-2-12/gtk/src/printer.ccg
Modified: branches/gtkmm-2-12/gtk/src/printer.ccg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/printer.ccg (original)
+++ branches/gtkmm-2-12/gtk/src/printer.ccg Thu Jan 1 14:45:41 2009
@@ -29,7 +29,7 @@
{
#endif //GLIBMM_EXCEPTIONS_ENABLED
// Create a suitable C++ instance to pass to the C++ method;
- Glib::RefPtr<Gtk::Printer> printer = Glib::wrap(gtk_printer);
+ Glib::RefPtr<Gtk::Printer> printer = Glib::wrap(gtk_printer, true);
return (*the_slot)(printer);
#ifdef GLIBMM_EXCEPTIONS_ENABLED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]