aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-01-19 02:23:20 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-01-19 04:00:06 +0100
commit5c1794445472da51333fa61da4b0fc1b42317fb7 (patch)
treef0db070bde460848a29db657d2f0292ebe15eebb /src
parentc41f3ae529261f3311d5d62620c82443bba3782d (diff)
downloadlogdiag-5c1794445472da51333fa61da4b0fc1b42317fb7.tar.gz
logdiag-5c1794445472da51333fa61da4b0fc1b42317fb7.tar.xz
logdiag-5c1794445472da51333fa61da4b0fc1b42317fb7.zip
GTK+ 3: Fix compilation, scrolling, drawing
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 ();