gdm r6069 - in trunk: . gui/simple-greeter
- From: halfline svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6069 - in trunk: . gui/simple-greeter
- Date: Wed, 26 Mar 2008 04:36:32 +0000 (GMT)
Author: halfline
Date: Wed Mar 26 04:36:32 2008
New Revision: 6069
URL: http://svn.gnome.org/viewvc/gdm?rev=6069&view=rev
Log:
2008-03-25 Ray Strode <rstrode redhat com>
* gui/simple-greeter/gdm-language-chooser-widget.c
(gdm_language_chooser_widget_dispose),
(gdm_langauge_chooser_widget_class_init):
move some blocks of code around in the file to
facilitate readability
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-language-chooser-widget.c
Modified: trunk/gui/simple-greeter/gdm-language-chooser-widget.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-language-chooser-widget.c (original)
+++ trunk/gui/simple-greeter/gdm-language-chooser-widget.c Wed Mar 26 04:36:32 2008
@@ -95,23 +95,6 @@
}
static void
-gdm_language_chooser_widget_dispose (GObject *object)
-{
- G_OBJECT_CLASS (gdm_language_chooser_widget_parent_class)->dispose (object);
-}
-
-static void
-gdm_language_chooser_widget_class_init (GdmLanguageChooserWidgetClass *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- object_class->dispose = gdm_language_chooser_widget_dispose;
- object_class->finalize = gdm_language_chooser_widget_finalize;
-
- g_type_class_add_private (klass, sizeof (GdmLanguageChooserWidgetPrivate));
-}
-
-static void
gdm_language_chooser_widget_add_language (GdmLanguageChooserWidget *widget,
const char *name)
{
@@ -156,6 +139,24 @@
}
static void
+gdm_language_chooser_widget_dispose (GObject *object)
+{
+ G_OBJECT_CLASS (gdm_language_chooser_widget_parent_class)->dispose (object);
+}
+
+static void
+gdm_language_chooser_widget_class_init (GdmLanguageChooserWidgetClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
+
+ object_class->dispose = gdm_language_chooser_widget_dispose;
+ object_class->finalize = gdm_language_chooser_widget_finalize;
+
+ g_type_class_add_private (klass, sizeof (GdmLanguageChooserWidgetPrivate));
+}
+
+static void
gdm_language_chooser_widget_init (GdmLanguageChooserWidget *widget)
{
widget->priv = GDM_LANGUAGE_CHOOSER_WIDGET_GET_PRIVATE (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]