[anjuta] debug manger: bgo #602784 - Remove unneeded libsexy code
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjuta] debug manger: bgo #602784 - Remove unneeded libsexy code
- Date: Mon, 30 Nov 2009 21:40:37 +0000 (UTC)
commit 77bfde716a8bffae411fc0ddfdb1476166e6dca3
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 30 22:40:20 2009 +0100
debug manger: bgo #602784 - Remove unneeded libsexy code
plugins/debug-manager/Makefile.am | 2 -
plugins/debug-manager/data_view.c | 12 -
plugins/debug-manager/sexy-icon-entry.c | 979 -------------------------------
plugins/debug-manager/sexy-icon-entry.h | 101 ----
plugins/debug-manager/sparse_view.c | 12 -
5 files changed, 0 insertions(+), 1106 deletions(-)
---
diff --git a/plugins/debug-manager/Makefile.am b/plugins/debug-manager/Makefile.am
index 97a1d5a..8af1b21 100644
--- a/plugins/debug-manager/Makefile.am
+++ b/plugins/debug-manager/Makefile.am
@@ -92,8 +92,6 @@ libanjuta_debug_manager_la_SOURCES = \
data_buffer.h \
disassemble.c \
disassemble.h \
- sexy-icon-entry.h \
- sexy-icon-entry.c \
sparse_buffer.c \
sparse_buffer.h \
sparse_view.c \
diff --git a/plugins/debug-manager/data_view.c b/plugins/debug-manager/data_view.c
index 49494a8..d459295 100644
--- a/plugins/debug-manager/data_view.c
+++ b/plugins/debug-manager/data_view.c
@@ -24,10 +24,6 @@
#include "anjuta-marshal.h"
-#if !GTK_CHECK_VERSION (2,16,0)
-#include "sexy-icon-entry.h"
-#endif
-
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
@@ -273,18 +269,10 @@ dma_data_view_goto_activate (GtkWidget *menu_item,
gtk_container_set_border_width (GTK_CONTAINER (vbox), 3);
/* add entry */
-#if GTK_CHECK_VERSION(2,16,0)
view->goto_entry = gtk_entry_new ();
gtk_entry_set_icon_from_stock (GTK_ENTRY (view->goto_entry),
GTK_ENTRY_ICON_PRIMARY,
GTK_STOCK_JUMP_TO);
-#else
- view->goto_entry = sexy_icon_entry_new ();
- icon = gtk_image_new_from_stock (GTK_STOCK_JUMP_TO, GTK_ICON_SIZE_MENU);
- sexy_icon_entry_set_icon (SEXY_ICON_ENTRY(view->goto_entry),
- SEXY_ICON_ENTRY_PRIMARY,
- GTK_IMAGE (icon));
-#endif
gtk_widget_show (view->goto_entry);
gtk_container_add (GTK_CONTAINER (vbox),
view->goto_entry);
diff --git a/plugins/debug-manager/sparse_view.c b/plugins/debug-manager/sparse_view.c
index f1af3e1..c3b0202 100644
--- a/plugins/debug-manager/sparse_view.c
+++ b/plugins/debug-manager/sparse_view.c
@@ -30,10 +30,6 @@
#include <libanjuta/anjuta-debug.h>
#include <libanjuta/interfaces/ianjuta-markable.h>
-#if !GTK_CHECK_VERSION (2,16,0)
-#include "sexy-icon-entry.h"
-#endif
-
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
@@ -264,18 +260,10 @@ dma_sparse_view_goto_activate (GtkWidget *menu_item,
gtk_container_set_border_width (GTK_CONTAINER (vbox), 3);
/* add entry */
-#if GTK_CHECK_VERSION(2,16,0)
view->priv->goto_entry = gtk_entry_new ();
gtk_entry_set_icon_from_stock (GTK_ENTRY (view->priv->goto_entry),
GTK_ENTRY_ICON_PRIMARY,
GTK_STOCK_JUMP_TO);
-#else
- view->priv->goto_entry = sexy_icon_entry_new ();
- icon = gtk_image_new_from_stock (GTK_STOCK_JUMP_TO, GTK_ICON_SIZE_MENU);
- sexy_icon_entry_set_icon (SEXY_ICON_ENTRY(view->priv->goto_entry),
- SEXY_ICON_ENTRY_PRIMARY,
- GTK_IMAGE (icon));
-#endif
gtk_widget_show (view->priv->goto_entry);
gtk_container_add (GTK_CONTAINER (vbox),
view->priv->goto_entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]