aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r--calendar/gui/gncal-full-day.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c
index c3151f6dcf..7a20b3789d 100644
--- a/calendar/gui/gncal-full-day.c
+++ b/calendar/gui/gncal-full-day.c
@@ -340,6 +340,7 @@ static void
new_appointment (GtkWidget *widget, gpointer data)
{
GncalFullDay *fullday;
+ GtkWidget *ee;
fullday = GNCAL_FULL_DAY (data);
@@ -349,17 +350,20 @@ new_appointment (GtkWidget *widget, gpointer data)
* at which the button was clicked on when popping up the menu.
*/
- event_editor_new (fullday->calendar, NULL);
+ ee = event_editor_new (fullday->calendar, NULL);
+ gtk_widget_show (ee);
}
static void
edit_appointment (GtkWidget *widget, gpointer data)
{
Child *child;
+ GtkWidget *ee;
child = data;
- event_editor_new (GNCAL_FULL_DAY (child->widget->parent)->calendar, child->ico);
+ ee = event_editor_new (GNCAL_FULL_DAY (child->widget->parent)->calendar, child->ico);
+ gtk_widget_show (ee);
}
static void