summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ld-window-main.c4
-rw-r--r--src/logdiag.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index d68a957..d74fb7d 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -60,7 +60,7 @@ static void on_ui_proxy_disconnected (GtkUIManager *ui, GtkAction *action,
GtkWidget *proxy, LdWindowMain *window);
static void on_menu_item_selected (GtkWidget *item, LdWindowMain *window);
-static void on_menu_item_deselected (GtkItem *item, LdWindowMain *window);
+static void on_menu_item_deselected (GtkMenuItem *item, LdWindowMain *window);
static gboolean on_delete (LdWindowMain *self, GdkEvent *event,
gpointer user_data);
@@ -537,7 +537,7 @@ on_menu_item_selected (GtkWidget *item, LdWindowMain *window)
}
static void
-on_menu_item_deselected (GtkItem *item, LdWindowMain *window)
+on_menu_item_deselected (GtkMenuItem *item, LdWindowMain *window)
{
gtk_statusbar_pop (GTK_STATUSBAR (window->priv->statusbar),
window->priv->statusbar_menu_context_id);
diff --git a/src/logdiag.c b/src/logdiag.c
index 563ada2..e6c477b 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -79,7 +79,7 @@ get_utf8_args_fail:
static gint ld_active_windows = 0;
static void
-window_on_destroyed (GtkObject *object, gpointer user_data)
+window_on_destroyed (GtkWidget *object, gpointer user_data)
{
if (--ld_active_windows <= 0)
gtk_main_quit ();