summaryrefslogtreecommitdiff
path: root/src/emacsgtkfixed.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-01-20 14:55:09 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-01-20 14:55:57 -0800
commit9d7265ba1a3f93e107a88c3fc4b76557e36192b5 (patch)
tree634801dc846d2fa73ea649462e8ecae1a35c036b /src/emacsgtkfixed.h
parent6a9399f7fd3ea6f4eaa0c6ceee92308553fadd39 (diff)
downloademacs-9d7265ba1a3f93e107a88c3fc4b76557e36192b5.tar.gz
Don’t export C symbols not used elsewhere
These were recently added, mostly as part of xwidget code. * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static. (EMACS_FIXED, EMACS_FIXED_GET_CLASS): Now static functions here, not macros in emacsgtkfixed.h. * src/emacsgtkfixed.h (EMACS_TYPE_FIXED): Remove. All uses replaced by definiens. (EMACS_FIXED, EMACS_FIXED_GET_CLASS): Remove; these are now static functions in emacsgtkfixed.c. (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS): Remove; unused. (emacs_fixed_get_type): Remove decl; no longer extern. * src/xwidget.c (offscreen_damage_event) (webkit_mime_type_policy_typedecision_requested_cb) (webkit_new_window_policy_decision_requested_cb) (webkit_navigation_policy_decision_requested_cb) (xwidget_spec_value, xwidget_view_lookup) (xwidget_start_redisplay, xwidget_touch): Now static. * src/xwidget.h (xwidget_start_redisplay, xwidget_touch): Remove decls.
Diffstat (limited to 'src/emacsgtkfixed.h')
-rw-r--r--src/emacsgtkfixed.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/emacsgtkfixed.h b/src/emacsgtkfixed.h
index 5b2fa566785..378bd2b828c 100644
--- a/src/emacsgtkfixed.h
+++ b/src/emacsgtkfixed.h
@@ -29,13 +29,6 @@ G_BEGIN_DECLS
struct frame;
-#define EMACS_TYPE_FIXED (emacs_fixed_get_type ())
-#define EMACS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMACS_TYPE_FIXED, EmacsFixed))
-#define EMACS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EMACS_TYPE_FIXED, EmacsFixedClass))
-#define EMACS_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMACS_TYPE_FIXED))
-#define EMACS_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EMACS_TYPE_FIXED))
-#define EMACS_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EMACS_TYPE_FIXED, EmacsFixedClass))
-
//typedef struct _EmacsFixed EmacsFixed;
typedef struct _EmacsFixedPrivate EmacsFixedPrivate;
typedef struct _EmacsFixedClass EmacsFixedClass;
@@ -55,7 +48,6 @@ struct _EmacsFixedClass
};
extern GtkWidget *emacs_fixed_new (struct frame *f);
-extern GType emacs_fixed_get_type (void);
G_END_DECLS