[gtk+/gtk-3-10] Revert "GtkAboutDialog: Add missing calls to g_type_ensure() for used types"



commit bd75b6312d9880bcd4d5708b1250692aae0721d2
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 15 21:42:00 2013 -0400

    Revert "GtkAboutDialog: Add missing calls to g_type_ensure() for used types"
    
    This reverts commit ad963d1b3a5fda9eb22f95a58bcc2b407e91e495.

 gtk/gtkaboutdialog.c |    9 ---------
 gtk/gtkdialog.c      |    2 --
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index c8045e3..467123e 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -45,7 +45,6 @@
 #include "gtkorientable.h"
 #include "gtkscrolledwindow.h"
 #include "gtktextview.h"
-#include "gtkviewport.h"
 #include "gtkshow.h"
 #include "gtkmain.h"
 #include "gtkmessagedialog.h"
@@ -686,14 +685,6 @@ gtk_about_dialog_init (GtkAboutDialog *about)
 {
   GtkAboutDialogPrivate *priv;
 
-  g_type_ensure (GTK_TYPE_IMAGE);
-  g_type_ensure (GTK_TYPE_TOGGLE_BUTTON);
-  g_type_ensure (GTK_TYPE_STACK);
-  g_type_ensure (GTK_TYPE_SCROLLED_WINDOW);
-  g_type_ensure (GTK_TYPE_VIEWPORT);
-  g_type_ensure (GTK_TYPE_GRID);
-  g_type_ensure (GTK_TYPE_TEXT_VIEW);
-
   /* Data */
   priv = gtk_about_dialog_get_instance_private (about);
   about->priv = priv;
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 122be61..4de0c90 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -370,8 +370,6 @@ gtk_dialog_init (GtkDialog *dialog)
 {
   dialog->priv = gtk_dialog_get_instance_private (dialog);
 
-  g_type_ensure (GTK_TYPE_BUTTON_BOX);
-
   gtk_widget_init_template (GTK_WIDGET (dialog));
 
   update_spacings (dialog);


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