diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-17 03:14:59 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-17 03:14:59 +0800 |
commit | 4546f9c3f42417f71a118f9a80ea24bea84695af (patch) | |
tree | eed6f7f8d4bea1f11b0ce3b49051ff6683c9d419 /lib | |
parent | f89e9530e6a445f934336db59dd6e86530894bc3 (diff) | |
download | gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.tar gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.tar.gz gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.tar.bz2 gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.tar.lz gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.tar.xz gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.tar.zst gsoc2013-epiphany-4546f9c3f42417f71a118f9a80ea24bea84695af.zip |
ephy-middle-clickable-tool-button: remove, it's unused now
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/Makefile.am | 2 | ||||
-rw-r--r-- | lib/widgets/ephy-middle-clickable-tool-button.c | 46 | ||||
-rw-r--r-- | lib/widgets/ephy-middle-clickable-tool-button.h | 55 |
3 files changed, 0 insertions, 103 deletions
diff --git a/lib/widgets/Makefile.am b/lib/widgets/Makefile.am index 57d5c73ce..7e0cdd353 100644 --- a/lib/widgets/Makefile.am +++ b/lib/widgets/Makefile.am @@ -7,8 +7,6 @@ libephywidgets_la_SOURCES = \ ephy-location-entry.h \ ephy-middle-clickable-button.c \ ephy-middle-clickable-button.h \ - ephy-middle-clickable-tool-button.c \ - ephy-middle-clickable-tool-button.h \ ephy-node-view.c \ ephy-node-view.h \ ephy-search-entry.c \ diff --git a/lib/widgets/ephy-middle-clickable-tool-button.c b/lib/widgets/ephy-middle-clickable-tool-button.c deleted file mode 100644 index 6bcce5eb7..000000000 --- a/lib/widgets/ephy-middle-clickable-tool-button.c +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* - * Copyright © 2011 Alexandre Mazari - * Copyright © 2011 Igalia S.L. - * - * This program 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, or (at your option) - * any later version. - * - * This program 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 Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#include "config.h" -#include "ephy-middle-clickable-tool-button.h" - -#include "ephy-middle-clickable-button.h" - -G_DEFINE_TYPE (EphyMiddleClickableToolButton, ephy_middle_clickable_tool_button, GTK_TYPE_TOOL_BUTTON) - -static void -ephy_middle_clickable_tool_button_class_init (EphyMiddleClickableToolButtonClass *class) -{ - GtkToolButtonClass *tool_button_class = GTK_TOOL_BUTTON_CLASS (class); - - tool_button_class->button_type = EPHY_TYPE_MIDDLE_CLICKABLE_BUTTON; -} - -static void -ephy_middle_clickable_tool_button_init (EphyMiddleClickableToolButton *class) -{ -} - -GtkWidget * -ephy_middle_clickable_tool_button_new () -{ - return gtk_widget_new (EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON, NULL); -} diff --git a/lib/widgets/ephy-middle-clickable-tool-button.h b/lib/widgets/ephy-middle-clickable-tool-button.h deleted file mode 100644 index a5863b9d7..000000000 --- a/lib/widgets/ephy-middle-clickable-tool-button.h +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* - * Copyright © 2011 Igalia S.L. - * - * This program 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, or (at your option) - * any later version. - * - * This program 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 Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION) -#error "Only <epiphany/epiphany.h> can be included directly." -#endif - -#ifndef __EPHY_MIDDLE_CLICKABLE_TOOL_BUTTON_H__ -#define __EPHY_MIDDLE_CLICKABLE_TOOL_BUTTON_H__ - -#include <gtk/gtk.h> - -G_BEGIN_DECLS - -#define EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON (ephy_middle_clickable_tool_button_get_type ()) -#define EPHY_MIDDLE_CLICKABLE_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON, EphyMiddleClickableToolBtton)) -#define EPHY_MIDDLE_CLICKABLE_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON, EphyMiddleClickableToolBttonClass)) -#define EPHY_IS_MIDDLE_CLICKABLE_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON)) -#define EPHY_IS_MIDDLE_CLICKABLE_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON)) -#define EPHY_MIDDLE_CLICKABLE_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EPHY_TYPE_MIDDLE_CLICKABLE_TOOL_BUTTON, EphyMiddleClickableToolBttonClass)) - -typedef struct _EphyMiddleClickableToolButton EphyMiddleClickableToolButton; -typedef struct _EphyMiddleClickableToolButtonClass EphyMiddleClickableToolButtonClass; - -struct _EphyMiddleClickableToolButton { - GtkToolButton parent; -}; - -struct _EphyMiddleClickableToolButtonClass { - GtkToolButtonClass parent_class; -}; - -GType ephy_middle_clickable_tool_button_get_type (void) G_GNUC_CONST; -GtkWidget *ephy_middle_clickable_tool_button_new (void); - -G_END_DECLS - -#endif |