aboutsummaryrefslogtreecommitdiff
path: root/liblogdiag
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-01-19 00:02:48 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-01-19 00:02:48 +0100
commitc41f3ae529261f3311d5d62620c82443bba3782d (patch)
treecd2a5b74b885ca26a828ed6ffb763478fc4a8dcc /liblogdiag
parent7617e6a0029148040f51b727c2b8401a9f6322e9 (diff)
downloadlogdiag-c41f3ae529261f3311d5d62620c82443bba3782d.tar.gz
logdiag-c41f3ae529261f3311d5d62620c82443bba3782d.tar.xz
logdiag-c41f3ae529261f3311d5d62620c82443bba3782d.zip
Switch to GTK3 via pkg-config, start the port
Diffstat (limited to 'liblogdiag')
-rw-r--r--liblogdiag/ld-diagram-view.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/liblogdiag/ld-diagram-view.c b/liblogdiag/ld-diagram-view.c
index e40b55f..050a638 100644
--- a/liblogdiag/ld-diagram-view.c
+++ b/liblogdiag/ld-diagram-view.c
@@ -392,15 +392,15 @@ ld_diagram_view_class_init (LdDiagramViewClass *klass)
klass->move = ld_diagram_view_real_move;
binding_set = gtk_binding_set_by_class (klass);
- gtk_binding_entry_add_signal (binding_set, GDK_Escape, 0,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0,
"cancel-operation", 0);
- gtk_binding_entry_add_signal (binding_set, GDK_Left, 0,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Left, 0,
"move", 2, G_TYPE_DOUBLE, (gdouble) -1, G_TYPE_DOUBLE, (gdouble) 0);
- gtk_binding_entry_add_signal (binding_set, GDK_Right, 0,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Right, 0,
"move", 2, G_TYPE_DOUBLE, (gdouble) 1, G_TYPE_DOUBLE, (gdouble) 0);
- gtk_binding_entry_add_signal (binding_set, GDK_Up, 0,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Up, 0,
"move", 2, G_TYPE_DOUBLE, (gdouble) 0, G_TYPE_DOUBLE, (gdouble) -1);
- gtk_binding_entry_add_signal (binding_set, GDK_Down, 0,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Down, 0,
"move", 2, G_TYPE_DOUBLE, (gdouble) 0, G_TYPE_DOUBLE, (gdouble) 1);
/**
@@ -1803,7 +1803,7 @@ oper_move_view_begin (LdDiagramView *self, const LdPoint *point)
move_cursor = gdk_cursor_new (GDK_FLEUR);
gdk_window_set_cursor
(gtk_widget_get_window (GTK_WIDGET (self)), move_cursor);
- gdk_cursor_unref (move_cursor);
+ g_object_unref (move_cursor);
}
static void