mirror of https://github.com/GNOME/gimp.git
Issue #835: warnings building with Clang.
Fix one warning and one error (introduced in commit 3bf2a3c166
).
This commit is contained in:
parent
417f2c873f
commit
90bc9e10f1
|
@ -191,7 +191,7 @@ dockable_toggle_view_cmd_callback (GtkAction *action,
|
|||
gtk_widget_show (new_dockable);
|
||||
|
||||
gtk_container_remove (GTK_CONTAINER (dockbook),
|
||||
dockable);
|
||||
GTK_WIDGET (dockable));
|
||||
|
||||
gtk_notebook_set_current_page (GTK_NOTEBOOK (dockbook),
|
||||
page_num);
|
||||
|
|
|
@ -416,7 +416,7 @@ windows_menu_display_query_tooltip (GtkWidget *widget,
|
|||
gint height;
|
||||
|
||||
if (! image)
|
||||
return;
|
||||
return FALSE;
|
||||
|
||||
text = gtk_widget_get_tooltip_text (widget);
|
||||
gtk_tooltip_set_text (tooltip, text);
|
||||
|
|
Loading…
Reference in New Issue