# HG changeset patch # User Mark Doliner # Date 1113880364 0 # Node ID 7a3d8d498f45ef57e55b37f83232a6ab3547d473 # Parent bf7e5ae7baae8227af7bd8bddc40134654f15932 [gaim-migrate @ 12511] sf patch #1185478, from Richard Laager Eliminate some gtkconv.c compile warnings by removing some unused static functions. committer: Tailor Script diff -r bf7e5ae7baae -r 7a3d8d498f45 src/gtkconv.c --- a/src/gtkconv.c Tue Apr 19 03:03:20 2005 +0000 +++ b/src/gtkconv.c Tue Apr 19 03:12:44 2005 +0000 @@ -1631,7 +1631,7 @@ win = gaim_conversation_get_window(conv); gtkwin = GAIM_GTK_WINDOW(win); curconv = gtk_notebook_get_current_page(GTK_NOTEBOOK(gtkwin->notebook)); - + /* If CTRL was held down... */ if (event->state & GDK_CONTROL_MASK) { switch (event->keyval) { @@ -4561,37 +4561,6 @@ } } -static void -gaim_gtk_move_conversation(GaimConvWindow *win, GaimConversation *conv, - unsigned int new_index) -{ - GaimGtkWindow *gtkwin; - GaimGtkConversation *gtkconv; - - gtkwin = GAIM_GTK_WINDOW(win); - gtkconv = GAIM_GTK_CONVERSATION(conv); - - gtk_notebook_reorder_child(GTK_NOTEBOOK(gtkwin->notebook), - gtkconv->tab_cont, new_index); -} - -static int -gaim_gtk_get_active_index(const GaimConvWindow *win) -{ - GaimGtkWindow *gtkwin; - int index; - - gtkwin = GAIM_GTK_WINDOW(win); - - index = gtk_notebook_get_current_page(GTK_NOTEBOOK(gtkwin->notebook)); - - /* - * A fix, because the first conversation may be active, but not - * appear in the notebook just yet. -- ChipX86 - */ - return (index == -1 ? 0 : index); -} - GaimGtkConversation * gaim_gtk_get_gtkconv_at_index(const GaimConvWindow *win, int index) {