[gnac] Replaced deprecated symbols
- From: Benoît Dupasquier <bdupasqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac] Replaced deprecated symbols
- Date: Tue, 4 May 2010 10:41:03 +0000 (UTC)
commit c444a347412fea49f623f37259e8807f9a7d93a4
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date: Tue May 4 11:37:35 2010 +0100
Replaced deprecated symbols
src/gnac-prefs.c | 2 +-
src/profiles/gnac-profiles-properties.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnac-prefs.c b/src/gnac-prefs.c
index d2875c0..cb92cbe 100644
--- a/src/gnac-prefs.c
+++ b/src/gnac-prefs.c
@@ -522,7 +522,7 @@ gnac_prefs_button_press_event_cb(GtkWidget *widget,
if (event->button != 1) return FALSE;
child = gtk_bin_get_child(GTK_BIN(user_data));
- widget_type = GTK_WIDGET_TYPE(widget);
+ widget_type = G_OBJECT_TYPE(widget);
if (widget_type == GTK_TYPE_COMBO_BOX)
{
diff --git a/src/profiles/gnac-profiles-properties.c b/src/profiles/gnac-profiles-properties.c
index 67592af..0ee5738 100644
--- a/src/profiles/gnac-profiles-properties.c
+++ b/src/profiles/gnac-profiles-properties.c
@@ -252,7 +252,7 @@ gnac_profiles_properties_init_format(void) {
}
properties = format_module->funcs.get_widget(NULL);
- gtk_box_pack_start_defaults(GTK_BOX(hbox_properties), properties);
+ gtk_box_pack_start(GTK_BOX(hbox_properties), properties, TRUE, TRUE, 0);
gtk_widget_hide(properties);
g_free(format_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]