[brasero] Remove any use of gdk_cursor_unref and bump glib/GTK+ requirements
- From: Philippe Rouquier <philippr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] Remove any use of gdk_cursor_unref and bump glib/GTK+ requirements
- Date: Wed, 22 Dec 2010 20:19:28 +0000 (UTC)
commit f4649cab0a4499461331a210de85728895696565
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Dec 22 21:19:11 2010 +0100
Remove any use of gdk_cursor_unref and bump glib/GTK+ requirements
configure.in | 4 ++--
libbrasero-burn/brasero-burn-dialog.c | 2 +-
libbrasero-burn/brasero-tool-dialog.c | 2 +-
src/brasero-playlist.c | 2 +-
src/brasero-project.c | 2 +-
src/brasero-search.c | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6c499ef..f0ff9f4 100644
--- a/configure.in
+++ b/configure.in
@@ -138,7 +138,7 @@ dnl ***************** LARGE FILE SUPPORT ***********************
AC_SYS_LARGEFILE
dnl ********** Required libraries **********************
-GLIB_REQUIRED=2.27.1
+GLIB_REQUIRED=2.27.5
GTHREAD_REQUIRED=2.6.0
GMODULE_REQUIRED=2.6.0
GMODULE_EXPORT_REQUIRED=2.6.0
@@ -216,7 +216,7 @@ AC_SUBST(BRASERO_SM_LIBS)
#
GTK_API_VERSION=3.0
-GTK_REQUIRED=2.91.0
+GTK_REQUIRED=2.91.7
BRASERO_LIBRARY_SUFFIX=3
PKG_CHECK_MODULES([BRASERO_GTK],[gtk+-$GTK_API_VERSION >= $GTK_REQUIRED])
diff --git a/libbrasero-burn/brasero-burn-dialog.c b/libbrasero-burn/brasero-burn-dialog.c
index eb20169..b0e8052 100644
--- a/libbrasero-burn/brasero-burn-dialog.c
+++ b/libbrasero-burn/brasero-burn-dialog.c
@@ -1395,7 +1395,7 @@ brasero_burn_dialog_activity_start (BraseroBurnDialog *dialog)
if (window) {
cursor = gdk_cursor_new (GDK_WATCH);
gdk_window_set_cursor (window, cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
}
gtk_button_set_use_stock (GTK_BUTTON (priv->cancel), TRUE);
diff --git a/libbrasero-burn/brasero-tool-dialog.c b/libbrasero-burn/brasero-tool-dialog.c
index 1e6f2b9..07a15bd 100644
--- a/libbrasero-burn/brasero-tool-dialog.c
+++ b/libbrasero-burn/brasero-tool-dialog.c
@@ -214,7 +214,7 @@ brasero_tool_dialog_run (BraseroToolDialog *self)
cursor = gdk_cursor_new (GDK_WATCH);
window = gtk_widget_get_window (GTK_WIDGET (self));
gdk_window_set_cursor (window, cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
gtk_button_set_label (GTK_BUTTON (priv->cancel), GTK_STOCK_CANCEL);
diff --git a/src/brasero-playlist.c b/src/brasero-playlist.c
index 24dcb95..ed04175 100644
--- a/src/brasero-playlist.c
+++ b/src/brasero-playlist.c
@@ -132,7 +132,7 @@ brasero_playlist_increase_activity_counter (BraseroPlaylist *playlist)
cursor = gdk_cursor_new (GDK_WATCH);
gdk_window_set_cursor (window,
cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
}
playlist->priv->activity_counter++;
}
diff --git a/src/brasero-project.c b/src/brasero-project.c
index ea54909..0a3cbda 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -895,7 +895,7 @@ brasero_project_is_valid (BraseroSessionCfg *session,
|| brasero_status_get_result (status) == BRASERO_BURN_RUNNING) {
cursor = gdk_cursor_new (GDK_WATCH);
gdk_window_set_cursor (window, cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
}
else
gdk_window_set_cursor (window, NULL);
diff --git a/src/brasero-search.c b/src/brasero-search.c
index af0ec84..544d139 100644
--- a/src/brasero-search.c
+++ b/src/brasero-search.c
@@ -215,7 +215,7 @@ brasero_search_increase_activity (BraseroSearch *search)
cursor = gdk_cursor_new (GDK_WATCH);
gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (search)), cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]