changeset 9110:78189aad1457

[gaim-migrate @ 9887] Fix some warnings. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 28 May 2004 06:08:02 +0000
parents 9f21659ecf11
children 2583056be3a4
files src/gtkconv.c src/gtkprefs.c
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Fri May 28 06:06:43 2004 +0000
+++ b/src/gtkconv.c	Fri May 28 06:08:02 2004 +0000
@@ -5704,6 +5704,8 @@
 		case GAIM_CONV_CHAT:
 			setup_chat_buttons(conv, gtk_widget_get_parent(gtkconv->send));
 			break;
+		default:
+			break;
 		}
 	}
 }
--- a/src/gtkprefs.c	Fri May 28 06:06:43 2004 +0000
+++ b/src/gtkprefs.c	Fri May 28 06:08:02 2004 +0000
@@ -1028,15 +1028,15 @@
 	if (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs")) {
 		gtk_widget_set_sensitive(GTK_WIDGET(same_checkbox), FALSE);
 	}
+
+	g_signal_connect(G_OBJECT(tabs_checkbox), "clicked",
+			 G_CALLBACK(gaim_gtk_toggle_sensitive), same_checkbox);
 #endif
 
 	placement_pref_id = gaim_prefs_connect_callback("/gaim/gtk/conversations/placement",
 	                                                conversation_placement_cb,
 	                                                tabs_checkbox);
 
-	g_signal_connect(G_OBJECT(tabs_checkbox), "clicked",
-			 G_CALLBACK(gaim_gtk_toggle_sensitive), same_checkbox);
-
 	close_checkbox = gaim_gtk_prefs_checkbox(_("Show _close button on tabs"),
 									"/gaim/gtk/conversations/close_on_tabs",
 									vbox);
@@ -1896,6 +1896,7 @@
 	return ret;
 }
 
+#if 0
 static GtkWidget *
 protocol_page() {
 	GtkWidget *ret;
@@ -1905,6 +1906,7 @@
 
 	return ret;
 }
+#endif
 
 static GtkWidget *plugin_description=NULL, *plugin_details=NULL;