brasero r2222 - in trunk: . libbrasero-media



Author: aklapper
Date: Thu Apr  9 07:56:32 2009
New Revision: 2222
URL: http://svn.gnome.org/viewvc/brasero?rev=2222&view=rev

Log:
2009-04-09  Andre Klapper  <aklapper openismus com>

	Fix #578230 â Add GtkBuildable interface to BraseroDriveSelection.
	Committing Patch by David King <davidk openismus com> on his behalf.

	* libbrasero-media/brasero-drive-selection.c
	(brasero_drive_selection_buildable_init):



Modified:
   trunk/ChangeLog
   trunk/libbrasero-media/brasero-drive-selection.c

Modified: trunk/libbrasero-media/brasero-drive-selection.c
==============================================================================
--- trunk/libbrasero-media/brasero-drive-selection.c	(original)
+++ trunk/libbrasero-media/brasero-drive-selection.c	Thu Apr  9 07:56:32 2009
@@ -60,6 +60,9 @@
 	LAST_SIGNAL
 } BraseroDriveSelectionSignalType;
 
+/* GtkBuildable */
+static GtkBuildableIface *parent_buildable_iface;
+
 static guint brasero_drive_selection_signals [LAST_SIGNAL] = { 0 };
 
 enum {
@@ -74,10 +77,15 @@
 	ICON_COL,
 	NUM_COL
 };
-  
-G_DEFINE_TYPE (BraseroDriveSelection, brasero_drive_selection, GTK_TYPE_COMBO_BOX);
-  
-  
+
+static void
+brasero_drive_selection_buildable_init (GtkBuildableIface *iface)
+{
+  parent_buildable_iface = g_type_interface_peek_parent (iface);
+}  
+
+G_DEFINE_TYPE_WITH_CODE (BraseroDriveSelection, brasero_drive_selection, GTK_TYPE_COMBO_BOX, G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE, brasero_drive_selection_buildable_init));
+
 static void
 brasero_drive_selection_set_current_drive (BraseroDriveSelection *self,
 					   GtkTreeIter *iter)



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