作図ソフト dia の改良版
Révision | ca8d88c8edaff6c0ae51f79e12d6468ce00924b3 (tree) |
---|---|
l'heure | 2014-10-04 18:43:26 |
Auteur | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
[warningectomy] incompatible pointer types passing 'GObject *' ...
sheets_dialog.c:254:24: warning: incompatible pointer types passing 'GObject *' (aka 'struct _GObject *') to parameter of type 'GtkObject *' (aka 'struct _GtkObject *') [-Wincompatible-pointer-types]
/usr/include/glib-2.0/gobject/gobject.h:51:37: note: expanded from macro 'G_OBJECT'
/usr/include/gtk-2.0/gtk/gtkobject.h:181:49: note: passing argument to parameter 'object' here
void gtk_object_set_data (GtkObject *object,
sheets_dialog.c:258:24: warning: incompatible pointer types passing 'GObject *' (aka 'struct _GObject *') to parameter of type 'GtkObject *' (aka 'struct _GtkObject *') [-Wincompatible-pointer-types]
/usr/include/glib-2.0/gobject/gobject.h:51:37: note: expanded from macro 'G_OBJECT'
/usr/include/gtk-2.0/gtk/gtkobject.h:181:49: note: passing argument to parameter 'object' here
void gtk_object_set_data (GtkObject *object,
sheets_dialog.c:267:24: warning: incompatible pointer types passing 'GObject *' (aka 'struct _GObject *') to parameter of type 'GtkObject *' (aka 'struct _GtkObject *') [-Wincompatible-pointer-types]
/usr/include/glib-2.0/gobject/gobject.h:51:37: note: expanded from macro 'G_OBJECT'
/usr/include/gtk-2.0/gtk/gtkobject.h:181:49: note: passing argument to parameter 'object' here
void gtk_object_set_data (GtkObject *object,
@@ -251,11 +251,11 @@ create_sheets_shapeselection_dialog (void) | ||
251 | 251 | GtkWidget *cancel_button1; |
252 | 252 | |
253 | 253 | sheets_shapeselection_dialog = gtk_file_selection_new (_("Select SVG Shape File")); |
254 | - gtk_object_set_data (G_OBJECT (sheets_shapeselection_dialog), "sheets_shapeselection_dialog", sheets_shapeselection_dialog); | |
254 | + gtk_object_set_data (GTK_OBJECT (sheets_shapeselection_dialog), "sheets_shapeselection_dialog", sheets_shapeselection_dialog); | |
255 | 255 | gtk_container_set_border_width (GTK_CONTAINER (sheets_shapeselection_dialog), 10); |
256 | 256 | |
257 | 257 | ok_button = GTK_FILE_SELECTION (sheets_shapeselection_dialog)->ok_button; |
258 | - gtk_object_set_data (G_OBJECT (sheets_shapeselection_dialog), "ok_button", ok_button); | |
258 | + gtk_object_set_data (GTK_OBJECT (sheets_shapeselection_dialog), "ok_button", ok_button); | |
259 | 259 | gtk_widget_show (ok_button); |
260 | 260 | #if GTK_CHECK_VERSION(2,18,0) |
261 | 261 | gtk_widget_set_can_default (GTK_WIDGET (ok_button), TRUE); |
@@ -264,7 +264,7 @@ create_sheets_shapeselection_dialog (void) | ||
264 | 264 | #endif |
265 | 265 | |
266 | 266 | cancel_button1 = GTK_FILE_SELECTION (sheets_shapeselection_dialog)->cancel_button; |
267 | - gtk_object_set_data (G_OBJECT (sheets_shapeselection_dialog), "cancel_button1", cancel_button1); | |
267 | + gtk_object_set_data (GTK_OBJECT (sheets_shapeselection_dialog), "cancel_button1", cancel_button1); | |
268 | 268 | gtk_widget_show (cancel_button1); |
269 | 269 | #if GTK_CHECK_VERSION(2,18,0) |
270 | 270 | gtk_widget_set_can_default (GTK_WIDGET (cancel_button1), TRUE); |