diff options
author | Ted Gould <ted@gould.cx> | 2011-02-24 10:22:46 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-24 10:22:46 -0600 |
commit | 017f243186a993adda6b55eac436bb7b6ce784c2 (patch) | |
tree | a6951124d1f46b683cf7be23acba3c8f15578b91 /libdbusmenu-gtk | |
parent | 5653c7e5642ae25fb54445f749ecfb0c947ead0c (diff) | |
download | libdbusmenu-017f243186a993adda6b55eac436bb7b6ce784c2.tar.gz libdbusmenu-017f243186a993adda6b55eac436bb7b6ce784c2.tar.bz2 libdbusmenu-017f243186a993adda6b55eac436bb7b6ce784c2.zip |
Not commenting out code, just deleteing
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/parser.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c index 09b1e6e..a68508b 100644 --- a/libdbusmenu-gtk/parser.c +++ b/libdbusmenu-gtk/parser.c @@ -169,23 +169,6 @@ widget_freed (gpointer data, GObject * obj) return; } -#if 0 -/* Called if we replace the cache on the object with a new - dbusmenu menuitem */ -static void -object_cache_freed (gpointer data) -{ - // TODO: make this have access to both data and obj so we can call these - //if (!G_IS_OBJECT(obj)) return; - //g_object_weak_unref(G_OBJECT(obj), dbusmenu_cache_freed, data); - //dbusmenu_cache_freed(data, obj); - - g_signal_handlers_disconnect_by_func(gtk_icon_theme_get_default(), G_CALLBACK(theme_changed_cb), data); - - return; -} -#endif - /* Gets the positon of the child with its' parent if it has one. Returns -1 if the position is unable to be calculated. */ static gint @@ -223,7 +206,6 @@ new_menuitem (GtkWidget * widget) ParserData *pdata = g_new0 (ParserData, 1); g_object_set_data_full(G_OBJECT(item), PARSER_DATA, pdata, parse_data_free); - /* g_object_set_data_full(G_OBJECT(widget), CACHED_MENUITEM, item, object_cache_freed); */ g_object_weak_ref(G_OBJECT(item), dbusmenu_item_freed, NULL); g_object_weak_ref(G_OBJECT(widget), widget_freed, NULL); |