summaryrefslogtreecommitdiff
path: root/pluma/pluma-commands-search.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-06 14:43:26 +0300
committermonsta <[email protected]>2016-11-06 14:43:26 +0300
commit4c06cb5cd0859067769dac1317682d430b18cc78 (patch)
tree0c363ee71311366fb2016df9858858ef5ef2d25d /pluma/pluma-commands-search.c
parent65371f53dbb06180b750dad7c19e7bcf0f8651d6 (diff)
downloadpluma-4c06cb5cd0859067769dac1317682d430b18cc78.tar.bz2
pluma-4c06cb5cd0859067769dac1317682d430b18cc78.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'pluma/pluma-commands-search.c')
-rw-r--r--pluma/pluma-commands-search.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pluma/pluma-commands-search.c b/pluma/pluma-commands-search.c
index 214e84ad..1a75dbca 100644
--- a/pluma/pluma-commands-search.c
+++ b/pluma/pluma-commands-search.c
@@ -38,9 +38,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
-#define GTK_OBJECT G_OBJECT
-#endif
#include "pluma-commands.h"
#include "pluma-debug.h"
@@ -763,7 +760,7 @@ _pluma_cmd_search_goto_line (GtkAction *action,
/* goto line is builtin in PlumaView, just activate
* the corrisponding binding.
*/
- gtk_bindings_activate (GTK_OBJECT (active_view),
+ gtk_bindings_activate (G_OBJECT (active_view),
GDK_KEY_i,
GDK_CONTROL_MASK);
}
@@ -787,7 +784,7 @@ _pluma_cmd_search_incremental_search (GtkAction *action,
/* incremental search is builtin in PlumaView, just activate
* the corrisponding binding.
*/
- gtk_bindings_activate (GTK_OBJECT (active_view),
+ gtk_bindings_activate (G_OBJECT (active_view),
GDK_KEY_k,
GDK_CONTROL_MASK);
}