diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-22 21:30:32 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-07-22 21:30:32 +0000 |
commit | db934852a95f4ee7af02f3a8431b286a7d6a7366 (patch) | |
tree | d7b5d99a5f342582e0e8bced84ac4cc0edccd619 /mixgtk | |
parent | da264d84bf8c3eca44f61adb63d0d6bac123f135 (diff) | |
download | mdk-db934852a95f4ee7af02f3a8431b286a7d6a7366.tar.gz mdk-db934852a95f4ee7af02f3a8431b286a7d6a7366.tar.bz2 |
release 0.4
Diffstat (limited to 'mixgtk')
-rw-r--r-- | mixgtk/mixgtk_mixal.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mixgtk/mixgtk_mixal.c b/mixgtk/mixgtk_mixal.c index eb8c60d..94c4dd4 100644 --- a/mixgtk/mixgtk_mixal.c +++ b/mixgtk/mixgtk_mixal.c @@ -398,12 +398,15 @@ on_mixal_motion_notify_event (GtkWidget *list, GdkEventMotion *event, if (gtk_clist_get_selection_info (clist_, event->x, event->y, &row, &col) && row != last_row && tips_text_) { + const gchar *msg = NULL; last_row = row; if (last_message) gtk_statusbar_remove (status_, status_context_, last_message); - last_message = gtk_statusbar_push - (status_, status_context_, - (const gchar *)g_ptr_array_index (tips_text_, row)); + msg = (const gchar *)g_ptr_array_index (tips_text_, row); + if (msg) + last_message = gtk_statusbar_push (status_, status_context_, msg); + else + last_message = 0; } return FALSE; } |