aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/layout.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1999-01-28 14:01:34 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-01-28 14:01:34 +0800
commit1ae6dea2dbe31f7aef33db4f6c099b4476a545e9 (patch)
tree98f6f8ccc8a414f2a99d30c407933dba860c08c8 /calendar/layout.c
parentc970e7ace5de19acdb9cf664435cbec8264ee89e (diff)
downloadgsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.tar
gsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.tar.gz
gsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.tar.bz2
gsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.tar.lz
gsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.tar.xz
gsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.tar.zst
gsoc2013-evolution-1ae6dea2dbe31f7aef33db4f6c099b4476a545e9.zip
Insert the summary text here. (child_focus_in): No need to raise the
1999-01-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c (child_new): Insert the summary text here. (child_focus_in): No need to raise the window, since we have Spiffo(tm) layout code. Boy, this is old code. (gncal_full_day_focus_child): Now that GtkText works better, we can avoid synthesizing a click which was causing grief, anyway. (child_button_press): Grab the focus before popping up the menu. * layout.c (find_index): Added a sanity check. * gncal-full-day.c (child_destroy): Unmap and unrealize the child before unparenting/destroying it. (child_unrealize): Unrealize the widget. What was I thinking? (child_new): Save the focus_out_event signal connection id in Child structure (in a new field). (child_destroy): Disconnect from the focus_out_event signal, since we don't want to get such an event when the widget is destroyed. (gncal_full_day_destroy): Destroy the children properly; it was leaking memory. svn path=/trunk/; revision=633
Diffstat (limited to 'calendar/layout.c')
-rw-r--r--calendar/layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/layout.c b/calendar/layout.c
index f97f0d5ffd..1367ae3f8f 100644
--- a/calendar/layout.c
+++ b/calendar/layout.c
@@ -101,6 +101,8 @@ find_index (struct layout_info *li, time_t t)
for (i = 0; ; i++)
if (li->partition[i] == t)
return i;
+
+ g_assert_not_reached ();
}
#define xy(li, x, y) li->array[(y * MAX_EVENTS_PER_ROW) + (x)]