aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.h
diff options
context:
space:
mode:
authorGrégoire Jadi2013-07-25 15:33:10 +0200
committerGrégoire Jadi2013-07-25 15:33:10 +0200
commit5677ff6cfcbc19d352a029f1475eade9dfce93a5 (patch)
tree594fa297e0c561212cea2a2f774016ae5b51b5ae /src/xwidget.h
parent7e457d94c0d3effe78d652d0141c53c41ce06b53 (diff)
downloademacs-5677ff6cfcbc19d352a029f1475eade9dfce93a5.tar.gz
emacs-5677ff6cfcbc19d352a029f1475eade9dfce93a5.zip
Always store GTK Widget as GtkWidget*.
* src/xwidget.h (struct xwidget): GtkContainer -> GtkWidget for widgetwindow_osr. (struct xwidget_view): GtkContainer -> GtkWidget for widgetwindow and emacswindow.
Diffstat (limited to 'src/xwidget.h')
-rw-r--r--src/xwidget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xwidget.h b/src/xwidget.h
index 786a3bf4941..18a9a1da483 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -33,7 +33,7 @@ struct xwidget{
33 33
34 //for offscreen widgets, unused if not osr 34 //for offscreen widgets, unused if not osr
35 GtkWidget* widget_osr; 35 GtkWidget* widget_osr;
36 GtkContainer* widgetwindow_osr; 36 GtkWidget* widgetwindow_osr;
37 /* Non-nil means kill silently if Emacs is exited. */ 37 /* Non-nil means kill silently if Emacs is exited. */
38 unsigned int kill_without_query : 1; 38 unsigned int kill_without_query : 1;
39 39
@@ -53,8 +53,8 @@ struct xwidget_view {
53 int hidden;//if the "live" instance isnt drawn 53 int hidden;//if the "live" instance isnt drawn
54 54
55 GtkWidget* widget; 55 GtkWidget* widget;
56 GtkContainer* widgetwindow; 56 GtkWidget* widgetwindow;
57 GtkContainer* emacswindow; 57 GtkWidget* emacswindow;
58 int x; int y; 58 int x; int y;
59 int clip_right; int clip_bottom; int clip_top; int clip_left; 59 int clip_right; int clip_bottom; int clip_top; int clip_left;
60 60