From 276eb145ce96d5f75f8d3901daf6310f60ddbb81 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Tue, 22 Nov 2016 15:02:51 -0500 Subject: move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build option *Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591 --- src/caja-main.h | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/caja-main.h (limited to 'src/caja-main.h') diff --git a/src/caja-main.h b/src/caja-main.h deleted file mode 100644 index abb9e6a7..00000000 --- a/src/caja-main.h +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: 8; c-basic-offset: 8 -*- */ - -/* - * Caja - * - * Copyright (C) 1999, 2000 Red Hat, Inc. - * Copyright (C) 1999, 2000 Eazel, Inc. - * - * Caja is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * Caja is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -/* caja-main.c - */ - -#ifndef CAJA_MAIN_H -#define CAJA_MAIN_H - -#include - -#if GTK_CHECK_VERSION(3, 0, 0) -void caja_main_event_loop_register (GtkWidget *object); -#else -void caja_main_event_loop_register (GtkObject *object); -#endif -gboolean caja_main_is_event_loop_mainstay (GtkWidget *object); -void caja_main_event_loop_quit (gboolean explicit); - -#endif /* CAJA_MAIN_H */ - -- cgit v1.2.1