[gnome-utils] [gsearchtool] remove deprecated GTK+ symbols.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] [gsearchtool] remove deprecated GTK+ symbols.
- Date: Thu, 27 May 2010 23:14:40 +0000 (UTC)
commit 20361f3595b9769ea8e5489f15f05864acfa8253
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Fri May 28 01:07:28 2010 +0200
[gsearchtool] remove deprecated GTK+ symbols.
gsearchtool/gsearchtool-callbacks.c | 8 ++++----
gsearchtool/gsearchtool.c | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gsearchtool/gsearchtool-callbacks.c b/gsearchtool/gsearchtool-callbacks.c
index 4e409c9..8efd629 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -287,8 +287,8 @@ constraint_activate_cb (GtkWidget * widget,
{
GSearchWindow * gsearch = data;
- if ((GTK_WIDGET_VISIBLE (gsearch->find_button)) &&
- (GTK_WIDGET_SENSITIVE (gsearch->find_button))) {
+ if ((gtk_widget_get_visible (gsearch->find_button)) &&
+ (gtk_widget_get_sensitive (gsearch->find_button))) {
click_find_cb (gsearch->find_button, data);
}
}
@@ -310,8 +310,8 @@ name_contains_activate_cb (GtkWidget * widget,
{
GSearchWindow * gsearch = data;
- if ((GTK_WIDGET_VISIBLE (gsearch->find_button)) &&
- (GTK_WIDGET_SENSITIVE (gsearch->find_button))) {
+ if ((gtk_widget_get_visible (gsearch->find_button)) &&
+ (gtk_widget_get_sensitive (gsearch->find_button))) {
click_find_cb (gsearch->find_button, data);
}
}
diff --git a/gsearchtool/gsearchtool.c b/gsearchtool/gsearchtool.c
index 00a9853..ebb82ea 100644
--- a/gsearchtool/gsearchtool.c
+++ b/gsearchtool/gsearchtool.c
@@ -644,7 +644,7 @@ build_search_command (GSearchWindow * gsearch,
gsearch->command_details->is_command_using_quick_mode = FALSE;
}
- if ((GTK_WIDGET_VISIBLE (gsearch->available_options_vbox) == FALSE) ||
+ if ((gtk_widget_get_visible (gsearch->available_options_vbox) == FALSE) ||
(has_additional_constraints (gsearch) == FALSE)) {
file_is_named_backslashed = backslash_backslash_characters (file_is_named_locale);
@@ -2070,7 +2070,7 @@ add_constraint (GSearchWindow * gsearch,
GtkWidget * widget;
if (show_constraint) {
- if (GTK_WIDGET_VISIBLE (gsearch->available_options_vbox) == FALSE) {
+ if (gtk_widget_get_visible (gsearch->available_options_vbox) == FALSE) {
gtk_expander_set_expanded (GTK_EXPANDER (gsearch->show_more_options_expander), TRUE);
gtk_widget_show (gsearch->available_options_vbox);
}
@@ -2078,7 +2078,7 @@ add_constraint (GSearchWindow * gsearch,
gsearch->window_geometry.min_height += WINDOW_HEIGHT_STEP;
- if (GTK_WIDGET_VISIBLE (gsearch->available_options_vbox)) {
+ if (gtk_widget_get_visible (gsearch->available_options_vbox)) {
gtk_window_set_geometry_hints (GTK_WINDOW (gsearch->window),
GTK_WIDGET (gsearch->window),
&gsearch->window_geometry,
@@ -2541,7 +2541,7 @@ set_clone_command (GSearchWindow * gsearch,
g_free (tmp);
g_free (look_in_folder_locale);
- if (GTK_WIDGET_VISIBLE (gsearch->available_options_vbox)) {
+ if (gtk_widget_get_visible (gsearch->available_options_vbox)) {
for (list = gsearch->available_options_selected_list; list != NULL; list = g_list_next (list)) {
GSearchConstraint * constraint = list->data;
gchar * locale = NULL;
@@ -2635,7 +2635,7 @@ handle_gconf_settings (GSearchWindow * gsearch)
gsearchtool_gconf_add_dir ("/apps/gnome-search-tool");
if (gsearchtool_gconf_get_boolean ("/apps/gnome-search-tool/show_additional_options")) {
- if (GTK_WIDGET_VISIBLE (gsearch->available_options_vbox) == FALSE) {
+ if (gtk_widget_get_visible (gsearch->available_options_vbox) == FALSE) {
gtk_expander_set_expanded (GTK_EXPANDER (gsearch->show_more_options_expander), TRUE);
gtk_widget_show (gsearch->available_options_vbox);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]