Mercurial > pidgin.yaz
changeset 10839:7a3d8d498f45
[gaim-migrate @ 12511]
sf patch #1185478, from Richard Laager
Eliminate some gtkconv.c compile warnings by removing some unused
static functions.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 19 Apr 2005 03:12:44 +0000 |
parents | bf7e5ae7baae |
children | a9d989c84609 |
files | src/gtkconv.c |
diffstat | 1 files changed, 1 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- 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) {