summaryrefslogtreecommitdiffhomepage
path: root/mixgtk
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-07-22 21:30:32 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-07-22 21:30:32 +0000
commitdfb708e1033d172a58a4e9c15e7b6458ac90bd2d (patch)
treefd1a3cbd4c5f5bce690eb16940f00ac17d063089 /mixgtk
parentdd2730739c3c1204ecee97aa936e84ad0f7c5b08 (diff)
downloadmdk-dfb708e1033d172a58a4e9c15e7b6458ac90bd2d.tar.gz
mdk-dfb708e1033d172a58a4e9c15e7b6458ac90bd2d.tar.bz2
release 0.40.4
Diffstat (limited to 'mixgtk')
-rw-r--r--mixgtk/mixgtk_mixal.c9
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;
}