libgnomeprintui r2680 - in trunk: . libgnomeprintui libgnomeprintui/gpaui
- From: kmaraas svn gnome org
- To: svn-commits-list gnome org
- Subject: libgnomeprintui r2680 - in trunk: . libgnomeprintui libgnomeprintui/gpaui
- Date: Fri, 20 Jun 2008 22:53:12 +0000 (UTC)
Author: kmaraas
Date: Fri Jun 20 22:53:11 2008
New Revision: 2680
URL: http://svn.gnome.org/viewvc/libgnomeprintui?rev=2680&view=rev
Log:
2008-06-21 Kjartan Maraas <kmaraas gnome org>
* libgnomeprintui/gnome-print-job-preview.h:
* libgnomeprintui/gpaui/gpa-settings-selector.c:
(gpa_settings_selector_menuitem_activate):
* testtext.c: (print_test_page), (main):
Fix build against new Gtk+
Modified:
trunk/ChangeLog
trunk/libgnomeprintui/gnome-print-job-preview.h
trunk/libgnomeprintui/gpaui/gpa-settings-selector.c
trunk/testtext.c
Modified: trunk/libgnomeprintui/gnome-print-job-preview.h
==============================================================================
--- trunk/libgnomeprintui/gnome-print-job-preview.h (original)
+++ trunk/libgnomeprintui/gnome-print-job-preview.h Fri Jun 20 22:53:11 2008
@@ -44,7 +44,7 @@
#include <libgnomeprint/gnome-print-job.h>
#include <libgnomeprintui/gnome-print-preview.h>
-GtkType gnome_print_job_preview_get_type (void);
+GType gnome_print_job_preview_get_type (void);
GtkWidget * gnome_print_job_preview_new (GnomePrintJob *gpm, const guchar *title);
G_END_DECLS
Modified: trunk/libgnomeprintui/gpaui/gpa-settings-selector.c
==============================================================================
--- trunk/libgnomeprintui/gpaui/gpa-settings-selector.c (original)
+++ trunk/libgnomeprintui/gpaui/gpa-settings-selector.c Fri Jun 20 22:53:11 2008
@@ -251,7 +251,7 @@
GPANode *settings;
gchar *value;
- gpaw = gtk_object_get_data (G_OBJECT (widget), "GPAWidget");
+ gpaw = g_object_get_data (widget, "GPAWidget");
g_return_if_fail (gpaw != NULL);
g_return_if_fail (GPA_IS_WIDGET (gpaw));
Modified: trunk/testtext.c
==============================================================================
--- trunk/testtext.c (original)
+++ trunk/testtext.c Fri Jun 20 22:53:11 2008
@@ -160,7 +160,7 @@
gnome_print_context_close (pc);
- gtk_object_unref (GTK_OBJECT (pc));
+ g_object_unref (pc);
}
int
@@ -181,7 +181,7 @@
if (printer)
{
print_test_page (printer);
- gtk_object_unref (GTK_OBJECT (printer));
+ g_object_unref (printer);
}
return 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]