]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kconfig: gconf: remove old #ifdef GTK_CHECK_VERSION
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:04:57 +0000 (00:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Jul 2025 11:07:34 +0000 (20:07 +0900)
Remove old code.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c

index 52d439a5119bd53c78c1fc3a596b5a49a20a5aec..b2a0208b0a5fb1386649d328fae188288183696b 100644 (file)
@@ -849,16 +849,12 @@ on_treeview2_button_press_event(GtkWidget * widget,
        struct menu *menu;
        gint col;
 
-#if GTK_CHECK_VERSION(2,1,4) // bug in ctree with earlier version of GTK
        gint tx = (gint) event->x;
        gint ty = (gint) event->y;
        gint cx, cy;
 
        gtk_tree_view_get_path_at_pos(view, tx, ty, &path, &column, &cx,
                                      &cy);
-#else
-       gtk_tree_view_get_cursor(view, &path, &column);
-#endif
        if (path == NULL)
                return FALSE;