Issue #835: warnings building with Clang.

Fix one warning and one error (introduced in commit 3bf2a3c166).
This commit is contained in:
Jehan 2019-05-07 18:12:47 +09:00
parent 417f2c873f
commit 90bc9e10f1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);