summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-06-21 04:10:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-06-21 04:10:07 +0000
commit6b82abcbe05e3d9874483884cee930394b394534 (patch)
tree0b03ac0620ff7e10e2c07b4f027cfad9d2867009 /gtk/gtkiconview.c
parent569bded2e2a331101eceabec804bb7a4420b8d94 (diff)
downloadgdk-pixbuf-6b82abcbe05e3d9874483884cee930394b394534.tar.gz
Remove this unused function. (Patch by Jody Goldberg)
Mon Jun 21 00:06:44 2004 Matthias Clasen <maclas@gmx.de> * libegg/iconlist/eggiconlist.c (egg_icon_list_item_get_icon_list): Remove this unused function. (Patch by Jody Goldberg) Mon Jun 21 00:05:56 2004 Matthias Clasen <maclas@gmx.de> * libegg/iconlist/eggiconlist.c (egg_icon_list_queue_draw_item): Avoid warnings if items are selected before the icon list is realized. (Patch by Jody Goldberg) Mon Jun 21 00:05:16 2004 Matthias Clasen <maclas@gmx.de> * libegg/iconlist/eggiconlist.c (egg_icon_list_button_press): Fix a small problem in mode GTK_SELECTION_NONE. Sun Jun 20 23:39:51 2004 Matthias Clasen <maclas@gmx.de> * libegg/iconlist/eggiconlist.c: Let ctrl key combinations move the focus without influencing the selection.
Diffstat (limited to 'gtk/gtkiconview.c')
-rw-r--r--gtk/gtkiconview.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 6e650a053..08d8837bd 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -26,7 +26,8 @@
#include <gtk/gtkmain.h>
#include <gtk/gtksignal.h>
-#include "eggintl.h"
+#include <glib/gi18n.h>
+
#include "eggmarshalers.h"
#define MINIMUM_ICON_ITEM_WIDTH 100
@@ -1935,7 +1936,8 @@ egg_icon_list_queue_draw_item (EggIconList *icon_list,
rect.width = item->width;
rect.height = item->height;
- gdk_window_invalidate_rect (icon_list->priv->bin_window, &rect, TRUE);
+ if (icon_list->priv->bin_window)
+ gdk_window_invalidate_rect (icon_list->priv->bin_window, &rect, TRUE);
}
static gboolean
@@ -2655,14 +2657,6 @@ egg_icon_list_get_items (EggIconList *icon_list)
return icon_list->priv->items;
}
-EggIconList *
-egg_icon_list_item_get_icon_list (EggIconListItem *item)
-{
- g_return_val_if_fail (item != NULL, NULL);
-
- return item->icon_list;
-}
-
static void
egg_icon_list_add_move_binding (GtkBindingSet *binding_set,
guint keyval,