[brasero] Some more (hopefully the last ones) bits to fix any GSEAL enabled compilation
- From: Philippe Rouquier <philippr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] Some more (hopefully the last ones) bits to fix any GSEAL enabled compilation
- Date: Wed, 12 May 2010 07:17:21 +0000 (UTC)
commit ce9f807b890ecacb83c487e73d68e917094b094f
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed May 12 11:18:53 2010 +0200
Some more (hopefully the last ones) bits to fix any GSEAL enabled compilation
src/brasero-search-entry.c | 11 ++++++-----
src/brasero-search.c | 4 ++--
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/brasero-search-entry.c b/src/brasero-search-entry.c
index 8b7ed33..6ac0646 100644
--- a/src/brasero-search-entry.c
+++ b/src/brasero-search-entry.c
@@ -230,7 +230,7 @@ brasero_search_entry_init (BraseroSearchEntry *obj)
NULL);
/* set auto completion */
- entry = GTK_BIN (obj->priv->combo)->child;
+ entry = gtk_bin_get_child (GTK_BIN (obj->priv->combo));
completion = gtk_entry_completion_new ();
gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store));
gtk_entry_completion_set_text_column (completion, BRASERO_SEARCH_ENTRY_DISPLAY_COL);
@@ -318,8 +318,9 @@ brasero_search_entry_init (BraseroSearchEntry *obj)
obj);
/* add tooltips */
- gtk_widget_set_tooltip_text (GTK_BIN (obj->priv->combo)->child,
- _("Type your keywords or choose 'All files' from the menu"));
+ gtk_widget_set_tooltip_text (gtk_bin_get_child (GTK_BIN (obj->priv->combo)),
+ _("Type your keywords or choose 'All files' from the menu"));
+
/* Translators: this is an image, a picture, not a "Disc Image" */
gtk_widget_set_tooltip_text (obj->priv->pictures,
_("Select if you want to search among image files only"));
@@ -416,7 +417,7 @@ brasero_search_entry_check_keywords (BraseroSearchEntry *entry)
* sets a pointer to the string; that's why we can't free the
* keywords until the query has been sent and even then ... */
- keywords = gtk_entry_get_text (GTK_ENTRY (GTK_BIN (entry->priv->combo)->child));
+ keywords = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (entry->priv->combo))));
if (!keywords)
return;
@@ -564,7 +565,7 @@ brasero_search_entry_add_current_keyword_to_history (BraseroSearchEntry *entry)
GtkTreeIter iter;
/* we don't want to add static entry */
- keywords = gtk_entry_get_text (GTK_ENTRY (GTK_BIN (entry->priv->combo)->child));
+ keywords = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (entry->priv->combo))));
if (!keywords || !strcmp (keywords, _("All files")))
return;
diff --git a/src/brasero-search.c b/src/brasero-search.c
index 1ad3d68..f8b5a2a 100644
--- a/src/brasero-search.c
+++ b/src/brasero-search.c
@@ -214,14 +214,14 @@ brasero_search_increase_activity (BraseroSearch *search)
GdkCursor *cursor;
cursor = gdk_cursor_new (GDK_WATCH);
- gdk_window_set_cursor (GTK_WIDGET (search)->window, cursor);
+ gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (search)), cursor);
gdk_cursor_unref (cursor);
}
static void
brasero_search_decrease_activity (BraseroSearch *search)
{
- gdk_window_set_cursor (GTK_WIDGET (search)->window, NULL);
+ gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (search)), NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]