Commit 90bc9e10 authored by Jehan's avatar Jehan

Issue #835: warnings building with Clang.

Fix one warning and one error (introduced in commit 3bf2a3c1).
parent 417f2c87
......@@ -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);
......
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