[dia] [gtk-deprecated] Use gtk_radio_button_get_group()



commit c76d93f3020d3e4ac1b3a32bf087c38af90c0387
Author: Hans Breuer <hans breuer org>
Date:   Mon Jul 30 20:03:24 2012 +0200

    [gtk-deprecated] Use gtk_radio_button_get_group()

 app/diapagelayout.c                    |    2 +-
 plug-ins/postscript/paginate_psprint.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/diapagelayout.c b/app/diapagelayout.c
index 43b4fa8..75b905c 100644
--- a/app/diapagelayout.c
+++ b/app/diapagelayout.c
@@ -298,7 +298,7 @@ dia_page_layout_init(DiaPageLayout *self)
   gtk_widget_show(self->scaling);
 
   self->fitto = gtk_radio_button_new_with_label(
-			GTK_RADIO_BUTTON(self->scale)->group, _("Fit to:"));
+			gtk_radio_button_get_group(GTK_RADIO_BUTTON(self->scale)), _("Fit to:"));
   gtk_table_attach(GTK_TABLE(table), self->fitto, 0,1, 1,2,
 		   GTK_FILL, GTK_FILL|GTK_EXPAND, 0, 0);
   gtk_widget_show(self->fitto);
diff --git a/plug-ins/postscript/paginate_psprint.c b/plug-ins/postscript/paginate_psprint.c
index 52a5061..2c54797 100644
--- a/plug-ins/postscript/paginate_psprint.c
+++ b/plug-ins/postscript/paginate_psprint.c
@@ -295,7 +295,7 @@ diagram_print_ps(DiagramData *dia, const gchar* original_filename)
   g_signal_connect(G_OBJECT(iscmd), "toggled",
 		   G_CALLBACK(change_entry_state), cmd);
 
-  isofile = gtk_radio_button_new_with_label(GTK_RADIO_BUTTON(iscmd)->group,
+  isofile = gtk_radio_button_new_with_label(gtk_radio_button_get_group(GTK_RADIO_BUTTON(iscmd)),
 					    _("File"));
   gtk_table_attach(GTK_TABLE(table), isofile, 0,1, 1,2,
 		   GTK_FILL, GTK_FILL|GTK_EXPAND, 0, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]