[brasero] Update to latest GTK code



commit 74012ff053510159e360e09ff84e94a6fbe6db08
Author: Andre Klapper <a9016009 gmx de>
Date:   Tue Mar 9 14:49:01 2010 +0100

    Update to latest GTK code

 configure.in                           |    2 +-
 libbrasero-burn/brasero-burn-dialog.c  |    6 +++---
 libbrasero-utils/brasero-jacket-view.c |    2 +-
 src/brasero-data-disc.c                |    2 +-
 src/brasero-player-bacon.c             |    2 +-
 src/brasero-project.c                  |    2 +-
 src/brasero-uri-container.c            |    6 +++---
 7 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/configure.in b/configure.in
index 3cf85bd..4cc4a48 100644
--- a/configure.in
+++ b/configure.in
@@ -139,7 +139,7 @@ GMODULE_REQUIRED=2.6.0
 GMODULE_EXPORT_REQUIRED=2.6.0
 GIO_REQUIRED=2.22.0
 GDK_REQUIRED=2.6.0
-GTK_REQUIRED=2.17.10
+GTK_REQUIRED=2.19.7
 GCONF_REQUIRED=2.0.0
 GSTREAMER_REQUIRED=0.10.15
 GSTREAMER_BASE_REQUIRED=0.10.0
diff --git a/libbrasero-burn/brasero-burn-dialog.c b/libbrasero-burn/brasero-burn-dialog.c
index f5f908b..4a56c0d 100644
--- a/libbrasero-burn/brasero-burn-dialog.c
+++ b/libbrasero-burn/brasero-burn-dialog.c
@@ -1050,7 +1050,7 @@ brasero_burn_dialog_disable_joliet_cb (BraseroBurn *burn,
 
 	priv = BRASERO_BURN_DIALOG_PRIVATE (dialog);
 
-	if (!GTK_WIDGET_VISIBLE (dialog)) {
+	if (!gtk_widget_get_visible (dialog)) {
 		gtk_widget_show (GTK_WIDGET (dialog));
 		hide = TRUE;
 	}
@@ -1308,7 +1308,7 @@ brasero_burn_dialog_dummy_success_cb (BraseroBurn *burn,
 
 	priv = BRASERO_BURN_DIALOG_PRIVATE (dialog);
 
-	if (!GTK_WIDGET_MAPPED (dialog)) {
+	if (!gtk_widget_get_mapped (dialog)) {
 		gtk_widget_show (GTK_WIDGET (dialog));
 		hide = TRUE;
 	} else
@@ -1828,7 +1828,7 @@ brasero_burn_dialog_notify_copy_finished (BraseroBurnDialog *dialog,
 
 	brasero_burn_dialog_update_session_info (dialog);
 
-	if (!GTK_WIDGET_VISIBLE (dialog))
+	if (!gtk_widget_get_visible (dialog))
 		gtk_widget_show (GTK_WIDGET (dialog));
 
 	main_message = g_strdup_printf (_("Copy #%i has been burned successfully."), priv->num_copies ++);
diff --git a/libbrasero-utils/brasero-jacket-view.c b/libbrasero-utils/brasero-jacket-view.c
index af7de3f..e40a722 100644
--- a/libbrasero-utils/brasero-jacket-view.c
+++ b/libbrasero-utils/brasero-jacket-view.c
@@ -1489,7 +1489,7 @@ brasero_jacket_view_size_allocate (GtkWidget *widget,
 	gtk_widget_size_allocate (priv->edit, &view_alloc);
 
 	gtk_widget_set_allocation (widget, allocation);
-	if (GTK_WIDGET_REALIZED (widget) && gtk_widget_get_has_window (widget)) {
+	if (gtk_widget_get_realized (widget) && gtk_widget_get_has_window (widget)) {
 		gdk_window_move_resize (gtk_widget_get_window (widget),
 					allocation->x,
 					allocation->y,
diff --git a/src/brasero-data-disc.c b/src/brasero-data-disc.c
index e2e7ce1..eca4b9b 100644
--- a/src/brasero-data-disc.c
+++ b/src/brasero-data-disc.c
@@ -2082,7 +2082,7 @@ brasero_data_disc_button_pressed_cb (GtkTreeView *tree,
 
 	priv = BRASERO_DATA_DISC_PRIVATE (self);
 
-	if (GTK_WIDGET_REALIZED (priv->tree)) {
+	if (gtk_widget_get_realized (priv->tree)) {
 		result = gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (priv->tree),
 							event->x,
 							event->y,
diff --git a/src/brasero-player-bacon.c b/src/brasero-player-bacon.c
index 328ad0c..336d493 100644
--- a/src/brasero-player-bacon.c
+++ b/src/brasero-player-bacon.c
@@ -202,7 +202,7 @@ brasero_player_bacon_size_allocate (GtkWidget *widget,
 	g_return_if_fail (widget != NULL);
 	bacon = BRASERO_PLAYER_BACON (widget);
 
-	if (!GTK_WIDGET_REALIZED (widget))
+	if (!gtk_widget_get_realized (widget))
 		return;
 
 	if (bacon->priv->xoverlay) {
diff --git a/src/brasero-project.c b/src/brasero-project.c
index f3d32f3..cc52c4f 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -2338,7 +2338,7 @@ brasero_project_register_ui (BraseroProject *project, GtkUIManager *manager)
 
 	project->priv->manager = manager;
 
-	if (GTK_WIDGET_REALIZED (project->priv->name_display))
+	if (gtk_widget_get_realized (project->priv->name_display))
 		gtk_widget_grab_focus (project->priv->name_display);
 }
 
diff --git a/src/brasero-uri-container.c b/src/brasero-uri-container.c
index d230320..848bb70 100644
--- a/src/brasero-uri-container.c
+++ b/src/brasero-uri-container.c
@@ -108,7 +108,7 @@ brasero_uri_container_get_boundaries (BraseroURIContainer *container,
 
 	g_return_val_if_fail (BRASERO_IS_URI_CONTAINER (container), FALSE);
 
-	if (!GTK_WIDGET_MAPPED (container))
+	if (!gtk_widget_get_mapped (container))
 		return FALSE;
 
 	iface = BRASERO_URI_CONTAINER_GET_IFACE (container);
@@ -125,7 +125,7 @@ brasero_uri_container_get_selected_uri (BraseroURIContainer *container)
 
 	g_return_val_if_fail (BRASERO_IS_URI_CONTAINER (container), NULL);
 
-	if (!GTK_WIDGET_MAPPED (container))
+	if (!gtk_widget_get_mapped (container))
 		return NULL;
 
 	iface = BRASERO_URI_CONTAINER_GET_IFACE (container);
@@ -142,7 +142,7 @@ brasero_uri_container_get_selected_uris (BraseroURIContainer *container)
 
 	g_return_val_if_fail (BRASERO_IS_URI_CONTAINER (container), NULL);
 
-	if (!GTK_WIDGET_MAPPED (container))
+	if (!gtk_widget_get_mapped (container))
 		return NULL;
 
 	iface = BRASERO_URI_CONTAINER_GET_IFACE (container);



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