aboutsummaryrefslogtreecommitdiff
path: root/src/idomessagedialog.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-05-27 09:06:46 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-05-27 09:06:46 -0400
commit3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3 (patch)
tree61ae8d203853d3474aeb58c21953bf172fc525d5 /src/idomessagedialog.c
parent33ab93de41a2e6985661d79788873fb774e624b5 (diff)
downloadayatana-ido-3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3.tar.gz
ayatana-ido-3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3.tar.bz2
ayatana-ido-3e67ec3d19dd4e31ec68b1b9c33f4b330c7672a3.zip
porting to gtk3, WIP
Diffstat (limited to 'src/idomessagedialog.c')
-rw-r--r--src/idomessagedialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idomessagedialog.c b/src/idomessagedialog.c
index ba73233..c5acb03 100644
--- a/src/idomessagedialog.c
+++ b/src/idomessagedialog.c
@@ -82,7 +82,7 @@ ido_message_dialog_map (GtkWidget *widget)
*
* See: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/240794
*/
- gdk_window_set_functions (widget->window,
+ gdk_window_set_functions (gtk_widget_get_window (widget),
GDK_FUNC_RESIZE | GDK_FUNC_MOVE);
ido_message_dialog_get_secondary_label (IDO_MESSAGE_DIALOG (widget));
@@ -166,14 +166,14 @@ ido_message_dialog_focus_in_event (GtkWidget *widget,
IdoTimeline *timeline;
IdoMessageDialogMorphContext *context;
- start = GTK_WIDGET (dialog)->requisition;
+ gtk_widget_get_requisition (GTK_WIDGET (dialog), &start);
priv->expanded = TRUE;
gtk_widget_show (priv->action_area);
gtk_widget_show (priv->secondary_label);
- gtk_widget_size_request (GTK_WIDGET (dialog), &end);
+ gtk_widget_get_requisition (GTK_WIDGET (dialog), &end);
gtk_widget_hide (priv->action_area);
gtk_widget_hide (priv->secondary_label);
@@ -209,7 +209,7 @@ ido_message_dialog_constructed (GObject *object)
event_box = gtk_event_box_new ();
gtk_widget_show (event_box);
- vbox = GTK_DIALOG (object)->vbox;
+ vbox = gtk_dialog_get_content_area (GTK_DIALOG (object));
priv->action_area = gtk_dialog_get_action_area (GTK_DIALOG (object));
g_object_ref (G_OBJECT (vbox));