[epiphany] window: rename has_size as has_default_size
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window: rename has_size as has_default_size
- Date: Tue, 31 Jan 2017 16:08:50 +0000 (UTC)
commit 2dce10c3532e8ddac52248b0ffdffa272d64f528
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Tue Jan 31 13:54:32 2017 +0100
window: rename has_size as has_default_size
src/ephy-window.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 47da40a..fd6ccb4 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -149,7 +149,7 @@ struct _EphyWindow {
gint current_width;
gint current_height;
- guint has_size : 1;
+ guint has_default_size : 1;
guint is_maximized : 1;
guint is_fullscreen : 1;
guint closing : 1;
@@ -2741,7 +2741,7 @@ ephy_window_set_default_size (EphyWindow *window,
gint height)
{
gtk_window_set_default_size (GTK_WINDOW (window), width, height);
- window->has_size = TRUE;
+ window->has_default_size = TRUE;
}
static void
@@ -2749,7 +2749,7 @@ ephy_window_show (GtkWidget *widget)
{
EphyWindow *window = EPHY_WINDOW (widget);
- if (!window->has_size && !window->is_popup) {
+ if (!window->has_default_size && !window->is_popup) {
g_settings_get (EPHY_SETTINGS_STATE,
"window-size", "(ii)",
&window->current_width,
@@ -2765,7 +2765,7 @@ ephy_window_show (GtkWidget *widget)
if (window->is_maximized)
gtk_window_maximize (GTK_WINDOW (window));
- window->has_size = TRUE;
+ window->has_default_size = TRUE;
}
GTK_WIDGET_CLASS (ephy_window_parent_class)->show (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]