Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (status_window_hide): Don't
call status_window_set_text() if the status window doesn't
already exist. (#100933, reported by Anand Subra)
* modules/input/gtkimcontextxim.c (status_window_show):
Don't bother creating the status window here, wait for
the set_text(). (Fixes a warning)
+Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (status_window_hide): Don't
+ call status_window_set_text() if the status window doesn't
+ already exist. (#100933, reported by Anand Subra)
+
+ * modules/input/gtkimcontextxim.c (status_window_show):
+ Don't bother creating the status window here, wait for
+ the set_text(). (Fixes a warning)
+
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
+Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (status_window_hide): Don't
+ call status_window_set_text() if the status window doesn't
+ already exist. (#100933, reported by Anand Subra)
+
+ * modules/input/gtkimcontextxim.c (status_window_show):
+ Don't bother creating the status window here, wait for
+ the set_text(). (Fixes a warning)
+
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
+Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (status_window_hide): Don't
+ call status_window_set_text() if the status window doesn't
+ already exist. (#100933, reported by Anand Subra)
+
+ * modules/input/gtkimcontextxim.c (status_window_show):
+ Don't bother creating the status window here, wait for
+ the set_text(). (Fixes a warning)
+
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
+Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (status_window_hide): Don't
+ call status_window_set_text() if the status window doesn't
+ already exist. (#100933, reported by Anand Subra)
+
+ * modules/input/gtkimcontextxim.c (status_window_show):
+ Don't bother creating the status window here, wait for
+ the set_text(). (Fixes a warning)
+
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
+Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (status_window_hide): Don't
+ call status_window_set_text() if the status window doesn't
+ already exist. (#100933, reported by Anand Subra)
+
+ * modules/input/gtkimcontextxim.c (status_window_show):
+ Don't bother creating the status window here, wait for
+ the set_text(). (Fixes a warning)
+
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
+Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (status_window_hide): Don't
+ call status_window_set_text() if the status window doesn't
+ already exist. (#100933, reported by Anand Subra)
+
+ * modules/input/gtkimcontextxim.c (status_window_show):
+ Don't bother creating the status window here, wait for
+ the set_text(). (Fixes a warning)
+
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
2002-12-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c:
static void
status_window_show (GtkIMContextXIM *context_xim)
{
static void
status_window_show (GtkIMContextXIM *context_xim)
{
- GtkWidget *status_window = status_window_get (context_xim, TRUE);
-
context_xim->status_visible = TRUE;
}
context_xim->status_visible = TRUE;
}
GtkWidget *status_window = status_window_get (context_xim, FALSE);
context_xim->status_visible = FALSE;
GtkWidget *status_window = status_window_get (context_xim, FALSE);
context_xim->status_visible = FALSE;
-
- status_window_set_text (context_xim, "");
+
+ if (status_window)
+ status_window_set_text (context_xim, "");