* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
*
* Since: 2.20
*/
-GtkWidget*
+GtkToolItemGroup*
gtk_tool_palette_get_drop_group (GtkToolPalette *palette,
gint x,
gint y)
if (x0 >= 0 && x0 < widget->allocation.width &&
y0 >= 0 && y0 < widget->allocation.height)
- return widget;
+ return GTK_TOOL_ITEM_GROUP (widget);
}
return NULL;
GtkToolItem* gtk_tool_palette_get_drop_item (GtkToolPalette *palette,
gint x,
gint y);
-GtkWidget* gtk_tool_palette_get_drop_group (GtkToolPalette *palette,
+GtkToolItemGroup* gtk_tool_palette_get_drop_group (GtkToolPalette *palette,
gint x,
gint y);
GtkWidget* gtk_tool_palette_get_drag_item (GtkToolPalette *palette,