/pidgin/main: 5aada1464bf1: Optimize some pointer accesses.
David Michael
fedora.dm0 at gmail.com
Wed Aug 1 02:29:07 EDT 2012
Changeset: 5aada1464bf1ad1fd2debcc6b25defbbf0469bc7
Author: David Michael <fedora.dm0 at gmail.com>
Date: 2012-07-29 01:07 -0400
Branch: release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/5aada1464bf1
Description:
Optimize some pointer accesses.
Fixes #15062.
Committer: Elliott Sales de Andrade <qulogic at pidgin.im>
diffstat:
pidgin/gtkconv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -8725,7 +8725,7 @@ notebook_release_cb(GtkWidget *widget, G
{
PidginWindow *dest_win;
GtkNotebook *dest_notebook;
- PurpleConversation *conv;
+ PidginConversation *active_gtkconv;
PidginConversation *gtkconv;
gint dest_page_num = 0;
gboolean new_window = FALSE;
@@ -8781,7 +8781,7 @@ notebook_release_cb(GtkWidget *widget, G
dest_win = pidgin_conv_window_get_at_xy(e->x_root, e->y_root);
- conv = pidgin_conv_window_get_active_conversation(win);
+ active_gtkconv = pidgin_conv_window_get_active_gtkconv(win);
if (dest_win == NULL) {
/* If the current window doesn't have any other conversations,
@@ -8835,7 +8835,7 @@ notebook_release_cb(GtkWidget *widget, G
}
}
- gtk_widget_grab_focus(PIDGIN_CONVERSATION(conv)->entry);
+ gtk_widget_grab_focus(active_gtkconv->entry);
return TRUE;
}
More information about the Commits
mailing list