changeset 11906:8913546c6a4e

[gaim-migrate @ 14197] SF Patch #1342696 from Casey Harkins "Just noticed there was still some lingering code in gtkblist.c and gtkmain.c from the old docklet stuff. This patch removes those last bits. I think this is all of it!" committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 30 Oct 2005 20:20:38 +0000
parents 58b8251c3d60
children d2db6426c88a
files src/gtkblist.c src/gtkmain.c
diffstat 2 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Sun Oct 30 20:13:46 2005 +0000
+++ b/src/gtkblist.c	Sun Oct 30 20:20:38 2005 +0000
@@ -114,9 +114,6 @@
 #endif
 static GaimGtkBuddyList *gtkblist = NULL;
 
-/* part of the best damn Docklet code this side of Tahiti */
-static gboolean gaim_gtk_blist_obscured = FALSE;
-
 static void gaim_gtk_blist_selection_changed(GtkTreeSelection *selection, gpointer data);
 static void gaim_gtk_blist_update(GaimBuddyList *list, GaimBlistNode *node);
 static char *gaim_get_tooltip_text(GaimBlistNode *node);
@@ -204,17 +201,6 @@
 	return FALSE;
 }
 
-static gboolean gtk_blist_visibility_cb(GtkWidget *w, GdkEventVisibility *event, gpointer data)
-{
-	if (event->state == GDK_VISIBILITY_FULLY_OBSCURED)
-		gaim_gtk_blist_obscured = TRUE;
-	else
-		gaim_gtk_blist_obscured = FALSE;
-
-	/* continue to handle event normally */
-	return FALSE;
-}
-
 static void gtk_blist_menu_info_cb(GtkWidget *w, GaimBuddy *b)
 {
 	serv_get_info(b->account->gc, b->name);
@@ -3223,7 +3209,6 @@
 
 	g_signal_connect_after(G_OBJECT(gtkblist->window), "delete_event", G_CALLBACK(gtk_blist_delete_cb), NULL);
 	g_signal_connect(G_OBJECT(gtkblist->window), "configure_event", G_CALLBACK(gtk_blist_configure_cb), NULL);
-	g_signal_connect(G_OBJECT(gtkblist->window), "visibility_notify_event", G_CALLBACK(gtk_blist_visibility_cb), NULL);
 	gtk_widget_add_events(gtkblist->window, GDK_VISIBILITY_NOTIFY_MASK);
 
 	/******************************* Menu bar *************************************/
--- a/src/gtkmain.c	Sun Oct 30 20:13:46 2005 +0000
+++ b/src/gtkmain.c	Sun Oct 30 20:20:38 2005 +0000
@@ -81,9 +81,6 @@
 static SnDisplay *sn_display = NULL;
 #endif
 
-/* TODO: Get this out of here? */
-int docklet_count = 0;
-
 #if HAVE_SIGNAL_H
 /*
  * Lists of signals we wish to catch and those we wish to ignore.