[gtk+/refactor: 48/106] Use accessor funtions to access GtkFontSelectionDialog
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 48/106] Use accessor funtions to access GtkFontSelectionDialog
- Date: Tue, 13 Jul 2010 17:34:02 +0000 (UTC)
commit 510b26bbdac29cd5d7634001a4257a58fdac40b5
Author: Javier Jardón <jjardon gnome org>
Date: Sat Jun 5 01:30:54 2010 +0200
Use accessor funtions to access GtkFontSelectionDialog
gtk/gtkfontbutton.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index db794c1..31ae6e9 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -714,9 +714,9 @@ gtk_font_button_clicked (GtkButton *button)
gtk_window_get_modal (GTK_WINDOW (parent)));
}
- g_signal_connect (font_dialog->ok_button, "clicked",
+ g_signal_connect (gtk_font_selection_dialog_get_ok_button (font_dialog), "clicked",
G_CALLBACK (dialog_ok_clicked), font_button);
- g_signal_connect (font_dialog->cancel_button, "clicked",
+ g_signal_connect (gtk_font_selection_dialog_get_cancel_button (font_dialog), "clicked",
G_CALLBACK (dialog_cancel_clicked), font_button);
g_signal_connect (font_dialog, "destroy",
G_CALLBACK (dialog_destroy), font_button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]