Commit 71e9be7e authored by Johan Dahlin's avatar Johan Dahlin Committed by Johan Dahlin

Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075

2008-01-06  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkcellrenderercombo.c:
	(gtk_cell_renderer_combo_get_property),
	(gtk_cell_renderer_combo_set_property):
	* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
	* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
	* gtk/gtknotebook.c: (gtk_notebook_set_property):
	* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
	* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
	(gtk_text_buffer_get_property):
	* gtk/gtktextview.c: (gtk_text_view_set_property):
	* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
	* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
	(gtk_tool_button_get_property):
	* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
	(gtk_tool_item_get_property):
	* gtk/gtktreeview.c: (gtk_tree_view_set_property):
	* gtk/gtkwidget.c: (gtk_widget_set_property):
	* gtk/gtkwindow.c: (gtk_window_set_property):
	Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
	Fixes #5075

svn path=/trunk/; revision=19311
parent 284af5af
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkcellrenderercombo.c:
(gtk_cell_renderer_combo_get_property),
(gtk_cell_renderer_combo_set_property):
* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
* gtk/gtknotebook.c: (gtk_notebook_set_property):
* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
(gtk_text_buffer_get_property):
* gtk/gtktextview.c: (gtk_text_view_set_property):
* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
(gtk_tool_button_get_property):
* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
(gtk_tool_item_get_property):
* gtk/gtktreeview.c: (gtk_tree_view_set_property):
* gtk/gtkwidget.c: (gtk_widget_set_property):
* gtk/gtkwindow.c: (gtk_window_set_property):
Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
Fixes #507585
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
......
......@@ -203,6 +203,7 @@ gtk_cell_renderer_combo_get_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......@@ -244,6 +245,7 @@ gtk_cell_renderer_combo_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -981,6 +981,7 @@ gtk_combo_box_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -170,6 +170,7 @@ gtk_combo_box_entry_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -1528,6 +1528,7 @@ gtk_notebook_set_property (GObject *object,
gtk_notebook_set_group (notebook, g_value_get_pointer (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -403,6 +403,7 @@ gtk_spin_button_set_property (GObject *object,
gtk_spin_button_set_value (spin_button, g_value_get_double (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -641,6 +641,7 @@ gtk_text_buffer_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......@@ -694,6 +695,7 @@ gtk_text_buffer_get_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -2876,7 +2876,7 @@ gtk_text_view_set_property (GObject *object,
break;
default:
g_assert_not_reached ();
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -192,6 +192,7 @@ gtk_toggle_button_set_property (GObject *object,
gtk_toggle_button_set_mode (tb, g_value_get_boolean (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -492,6 +492,7 @@ gtk_tool_button_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......@@ -539,6 +540,7 @@ gtk_tool_button_get_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -318,6 +318,7 @@ gtk_tool_item_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......@@ -342,6 +343,7 @@ gtk_tool_item_get_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -1436,6 +1436,7 @@ gtk_tree_view_set_property (GObject *object,
gtk_tree_view_set_tooltip_column (tree_view, g_value_get_int (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -2453,6 +2453,7 @@ gtk_widget_set_property (GObject *object,
gtk_widget_real_set_has_tooltip (widget, tmp, FALSE);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
......@@ -1010,6 +1010,7 @@ gtk_window_set_property (GObject *object,
gtk_window_set_opacity (window, g_value_get_double (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment