# HG changeset patch # User Mike Ruprecht # Date 1238559851 0 # Node ID e1523f30bdb5a0e963e441bd2c3816b8977be491 # Parent c3cf43b9402fac5bad2be0ce53d74212a0bcfe20 Move these variables to the end to not break ABI. diff -r c3cf43b9402f -r e1523f30bdb5 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Wed Apr 01 03:23:21 2009 +0000 +++ b/pidgin/gtkconv.c Wed Apr 01 04:24:11 2009 +0000 @@ -3453,13 +3453,13 @@ N_("/Conversation/View Log")); #ifdef USE_VV - win->menu.audio_call = + win->audio_call = gtk_item_factory_get_widget(win->menu.item_factory, N_("/Conversation/Media/Audio Call")); - win->menu.video_call = + win->video_call = gtk_item_factory_get_widget(win->menu.item_factory, N_("/Conversation/Media/Video Call")); - win->menu.audio_video_call = + win->audio_video_call = gtk_item_factory_get_widget(win->menu.item_factory, N_("/Conversation/Media/Audio\\/Video Call")); #endif @@ -6456,24 +6456,24 @@ purple_prpl_get_media_caps(account, purple_conversation_get_name(conv)); - gtk_widget_set_sensitive(win->menu.audio_call, + gtk_widget_set_sensitive(win->audio_call, caps & PURPLE_MEDIA_CAPS_AUDIO ? TRUE : FALSE); - gtk_widget_set_sensitive(win->menu.video_call, + gtk_widget_set_sensitive(win->video_call, caps & PURPLE_MEDIA_CAPS_VIDEO ? TRUE : FALSE); - gtk_widget_set_sensitive(win->menu.audio_video_call, + gtk_widget_set_sensitive(win->audio_video_call, caps & PURPLE_MEDIA_CAPS_AUDIO_VIDEO ? TRUE : FALSE); } else if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT) { /* for now, don't care about chats... */ - gtk_widget_set_sensitive(win->menu.audio_call, FALSE); - gtk_widget_set_sensitive(win->menu.video_call, FALSE); - gtk_widget_set_sensitive(win->menu.audio_video_call, FALSE); + gtk_widget_set_sensitive(win->audio_call, FALSE); + gtk_widget_set_sensitive(win->video_call, FALSE); + gtk_widget_set_sensitive(win->audio_video_call, FALSE); } else { - gtk_widget_set_sensitive(win->menu.audio_call, FALSE); - gtk_widget_set_sensitive(win->menu.video_call, FALSE); - gtk_widget_set_sensitive(win->menu.audio_video_call, FALSE); + gtk_widget_set_sensitive(win->audio_call, FALSE); + gtk_widget_set_sensitive(win->video_call, FALSE); + gtk_widget_set_sensitive(win->audio_video_call, FALSE); } #endif diff -r c3cf43b9402f -r e1523f30bdb5 pidgin/gtkconvwin.h --- a/pidgin/gtkconvwin.h Wed Apr 01 03:23:21 2009 +0000 +++ b/pidgin/gtkconvwin.h Wed Apr 01 04:24:11 2009 +0000 @@ -49,11 +49,6 @@ GtkWidget *menubar; GtkWidget *view_log; -#ifdef USE_VV - GtkWidget *audio_call; - GtkWidget *video_call; - GtkWidget *audio_video_call; -#endif GtkWidget *send_file; GtkWidget *add_pounce; GtkWidget *get_info; @@ -100,6 +95,12 @@ gint drag_motion_signal; gint drag_leave_signal; + +#ifdef USE_VV + GtkWidget *audio_call; + GtkWidget *video_call; + GtkWidget *audio_video_call; +#endif }; /*@}*/