gtkmozembed 0.90.7 → 0.90.8

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,12 @@
1
+ 2011-02-12 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * ext/gtkmozembed/depend: fix .pc path. #3178294
4
+ Reported by OBATA Akio. Thanks!!!
5
+
6
+ 2011-02-05 Masaaki Aoyagi
7
+
8
+ * ext/gtkmozembed/*.c: change to ANSI C style.
9
+
1
10
  2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
11
 
3
12
  * ext/gtkmozembed/extconf.rb: add missing dependency.
@@ -1,6 +1,6 @@
1
1
  install:
2
- if test -n "$(pkgconfigdir)"; then \
3
- $(MAKEDIRS) $(pkgconfigdir); \
4
- $(INSTALL_DATA) ../ruby-gtkmozembed.pc $(pkgconfigdir); \
2
+ if test -n "$(pkgconfigdir)"; then \
3
+ $(MAKEDIRS) $(pkgconfigdir); \
4
+ $(INSTALL_DATA) ruby-gtkmozembed.pc $(pkgconfigdir); \
5
5
  fi
6
6
 
@@ -66,8 +66,7 @@
66
66
  *
67
67
  */
68
68
  static VALUE
69
- moz_initialize(self)
70
- VALUE self;
69
+ moz_initialize(VALUE self)
71
70
  {
72
71
  RBGTK_INITIALIZE(self, gtk_moz_embed_new());
73
72
  return Qnil;
@@ -89,8 +88,7 @@ moz_initialize(self)
89
88
  *
90
89
  */
91
90
  static VALUE
92
- moz_set_profile_path(self, profile_path, profile_name)
93
- VALUE self, profile_path, profile_name;
91
+ moz_set_profile_path(VALUE self, VALUE profile_path, VALUE profile_name)
94
92
  {
95
93
  gtk_moz_embed_set_profile_path(RVAL2CSTR(profile_path),
96
94
  RVAL2CSTR(profile_name));
@@ -115,8 +113,7 @@ moz_set_profile_path(self, profile_path, profile_name)
115
113
  *
116
114
  */
117
115
  static VALUE
118
- moz_set_comp_path(self, path)
119
- VALUE self, path;
116
+ moz_set_comp_path(VALUE self, VALUE path)
120
117
  {
121
118
  gtk_moz_embed_set_comp_path(RVAL2CSTR(path));
122
119
  return Qnil;
@@ -151,8 +148,7 @@ moz_set_comp_path(self, path)
151
148
  */
152
149
 
153
150
  static VALUE
154
- moz_load_url(self, url)
155
- VALUE self, url;
151
+ moz_load_url(VALUE self, VALUE url)
156
152
  {
157
153
  gtk_moz_embed_load_url(_SELF(self), RVAL2CSTR(url));
158
154
  return self;
@@ -167,8 +163,7 @@ moz_load_url(self, url)
167
163
  *
168
164
  */
169
165
  static VALUE
170
- moz_stop_load(self)
171
- VALUE self;
166
+ moz_stop_load(VALUE self)
172
167
  {
173
168
  gtk_moz_embed_stop_load(_SELF(self));
174
169
  return self;
@@ -183,8 +178,7 @@ moz_stop_load(self)
183
178
  *
184
179
  */
185
180
  static VALUE
186
- moz_can_go_back(self)
187
- VALUE self;
181
+ moz_can_go_back(VALUE self)
188
182
  {
189
183
  return CBOOL2RVAL(gtk_moz_embed_can_go_back(_SELF(self)));
190
184
  }
@@ -198,8 +192,7 @@ moz_can_go_back(self)
198
192
  *
199
193
  */
200
194
  static VALUE
201
- moz_can_go_forward(self)
202
- VALUE self;
195
+ moz_can_go_forward(VALUE self)
203
196
  {
204
197
  return CBOOL2RVAL(gtk_moz_embed_can_go_forward(_SELF(self)));
205
198
  }
@@ -213,8 +206,7 @@ moz_can_go_forward(self)
213
206
  *
214
207
  */
215
208
  static VALUE
216
- moz_go_back(self)
217
- VALUE self;
209
+ moz_go_back(VALUE self)
218
210
  {
219
211
  gtk_moz_embed_go_back(_SELF(self));
220
212
  return self;
@@ -229,8 +221,7 @@ moz_go_back(self)
229
221
  *
230
222
  */
231
223
  static VALUE
232
- moz_go_forward(self)
233
- VALUE self;
224
+ moz_go_forward(VALUE self)
234
225
  {
235
226
  gtk_moz_embed_go_forward(_SELF(self));
236
227
  return self;
@@ -245,8 +236,7 @@ moz_go_forward(self)
245
236
  *
246
237
  */
247
238
  static VALUE
248
- moz_get_location(self)
249
- VALUE self;
239
+ moz_get_location(VALUE self)
250
240
  {
251
241
  char* url = gtk_moz_embed_get_location(_SELF(self));
252
242
  return CSTR2RVAL(url);
@@ -263,8 +253,7 @@ moz_get_location(self)
263
253
  *
264
254
  */
265
255
  static VALUE
266
- moz_get_link_message(self)
267
- VALUE self;
256
+ moz_get_link_message(VALUE self)
268
257
  {
269
258
  char *msg = gtk_moz_embed_get_link_message(_SELF(self));
270
259
  return CSTR2RVAL(msg);
@@ -280,8 +269,7 @@ moz_get_link_message(self)
280
269
  *
281
270
  */
282
271
  static VALUE
283
- moz_get_js_status(self)
284
- VALUE self;
272
+ moz_get_js_status(VALUE self)
285
273
  {
286
274
  char *msg = gtk_moz_embed_get_js_status(_SELF(self));
287
275
  return CSTR2RVAL(msg);
@@ -297,8 +285,7 @@ moz_get_js_status(self)
297
285
  *
298
286
  */
299
287
  static VALUE
300
- moz_get_title(self)
301
- VALUE self;
288
+ moz_get_title(VALUE self)
302
289
  {
303
290
  char *title = gtk_moz_embed_get_title(_SELF(self));
304
291
  return CSTR2RVAL(title);
@@ -317,8 +304,7 @@ moz_get_title(self)
317
304
  *
318
305
  */
319
306
  static VALUE
320
- moz_reload(self, flags)
321
- VALUE self, flags;
307
+ moz_reload(VALUE self, VALUE flags)
322
308
  {
323
309
  gtk_moz_embed_reload(_SELF(self),
324
310
  RVAL2GFLAGS(flags, GTK_TYPE_MOZ_EMBED_RELOAD_FLAGS));
@@ -337,8 +323,7 @@ moz_reload(self, flags)
337
323
  */
338
324
 
339
325
  static VALUE
340
- moz_set_chrome_mask(self, flags)
341
- VALUE self, flags;
326
+ moz_set_chrome_mask(VALUE self, VALUE flags)
342
327
  {
343
328
  gtk_moz_embed_set_chrome_mask(_SELF(self),
344
329
  RVAL2GFLAGS(flags, GTK_TYPE_MOZ_EMBED_CHROME_FLAGS));
@@ -354,8 +339,7 @@ moz_set_chrome_mask(self, flags)
354
339
  *
355
340
  */
356
341
  static VALUE
357
- moz_get_chrome_mask(self)
358
- VALUE self;
342
+ moz_get_chrome_mask(VALUE self)
359
343
  {
360
344
  guint32 mask = gtk_moz_embed_get_chrome_mask(_SELF(self));
361
345
  return GFLAGS2RVAL(mask, GTK_TYPE_MOZ_EMBED_CHROME_FLAGS);
@@ -377,8 +361,7 @@ moz_get_chrome_mask(self)
377
361
  *
378
362
  */
379
363
  static VALUE
380
- moz_render_data(self, data, base_uri, mime_type)
381
- VALUE self, data, base_uri, mime_type;
364
+ moz_render_data(VALUE self, VALUE data, VALUE base_uri, VALUE mime_type)
382
365
  {
383
366
  gtk_moz_embed_render_data(_SELF(self),
384
367
  RSTRING_PTR(data),
@@ -431,8 +414,7 @@ static gboolean stream_open = FALSE;
431
414
  *
432
415
  */
433
416
  static VALUE
434
- moz_open_stream(self, base_uri, mime_type)
435
- VALUE self, base_uri, mime_type;
417
+ moz_open_stream(VALUE self, VALUE base_uri, VALUE mime_type)
436
418
  {
437
419
  gchar *bu = RVAL2CSTR(base_uri);
438
420
 
@@ -458,8 +440,7 @@ moz_open_stream(self, base_uri, mime_type)
458
440
  * Returns: self.
459
441
  */
460
442
  static VALUE
461
- moz_append_data(self, data)
462
- VALUE self, data;
443
+ moz_append_data(VALUE self, VALUE data)
463
444
  {
464
445
  if(!stream_open)
465
446
  rb_raise(rb_eRuntimeError,
@@ -482,8 +463,7 @@ moz_append_data(self, data)
482
463
  *
483
464
  */
484
465
  static VALUE
485
- moz_close_stream(self)
486
- VALUE self;
466
+ moz_close_stream(VALUE self)
487
467
  {
488
468
  if(!stream_open)
489
469
  rb_raise(rb_eRuntimeError,
@@ -507,11 +487,7 @@ moz_close_stream(self)
507
487
  static gulong new_win_sig = 0;
508
488
 
509
489
  static void
510
- moz_custom_new_window_cb(embed, retval, chromemask, func)
511
- GtkMozEmbed *embed;
512
- GtkMozEmbed **retval;
513
- guint chromemask;
514
- VALUE func;
490
+ moz_custom_new_window_cb(GtkMozEmbed *embed, GtkMozEmbed **retval, guint chromemask, VALUE func)
515
491
  {
516
492
  VALUE new_moz =
517
493
  rb_funcall(func, rb_intern("call"), 2,
@@ -531,8 +507,7 @@ moz_custom_new_window_cb(embed, retval, chromemask, func)
531
507
  * Returns: self.
532
508
  */
533
509
  static VALUE
534
- set_on_new_window_block(self)
535
- VALUE self;
510
+ set_on_new_window_block(VALUE self)
536
511
  {
537
512
  VALUE func = rb_block_proc();
538
513
  G_RELATIVE(self, func);
@@ -552,8 +527,7 @@ set_on_new_window_block(self)
552
527
  * Returns: self.
553
528
  */
554
529
  static VALUE
555
- clear_on_new_window_block(self)
556
- VALUE self;
530
+ clear_on_new_window_block(VALUE self)
557
531
  {
558
532
  GObject *moz = RVAL2GOBJ(self);
559
533
 
File without changes
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtkmozembed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 377
4
+ hash: 359
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 7
10
- version: 0.90.7
9
+ - 8
10
+ version: 0.90.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-02 00:00:00 +09:00
18
+ date: 2011-03-04 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 377
29
+ hash: 359
30
30
  segments:
31
31
  - 0
32
32
  - 90
33
- - 7
34
- version: 0.90.7
33
+ - 8
34
+ version: 0.90.8
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Ruby/GtkMozEmbed is a Ruby binding of GtkMozEmbed a widget embedding a Mozilla Gecko renderer.
@@ -48,15 +48,10 @@ files:
48
48
  - Rakefile
49
49
  - extconf.rb
50
50
  - lib/gtkmozembed.rb
51
- - ext/gtkmozembed/gtkmozembed-enum-types.h
52
51
  - ext/gtkmozembed/rbgtkmozembed-init.cpp
53
- - ext/gtkmozembed/rbgtkmozembedversion.h
54
- - ext/gtkmozembed/Makefile
55
52
  - ext/gtkmozembed/rbgtkmozembed.h
56
53
  - ext/gtkmozembed/extconf.rb
57
- - ext/gtkmozembed/ruby-gtkmozembed.pc
58
54
  - ext/gtkmozembed/rbgtkmozembed.c
59
- - ext/gtkmozembed/gtkmozembed-enum-types.c
60
55
  - ext/gtkmozembed/depend
61
56
  - sample/README
62
57
  - sample/COPYING
@@ -1,163 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = /home/kou/work/ruby/ruby-gnome2/gtkmozembed/ext/gtkmozembed
7
- topdir = /usr/lib/ruby/1.8/x86_64-linux
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
10
- exec_prefix = $(prefix)
11
- prefix = $(DESTDIR)/usr
12
- sharedstatedir = $(prefix)/com
13
- mandir = $(prefix)/share/man
14
- psdir = $(docdir)
15
- oldincludedir = $(DESTDIR)/usr/include
16
- localedir = $(datarootdir)/locale
17
- bindir = $(exec_prefix)/bin
18
- libexecdir = $(prefix)/lib/ruby1.8
19
- sitedir = $(DESTDIR)/usr/local/lib/site_ruby
20
- htmldir = $(docdir)
21
- vendorarchdir = $(vendorlibdir)/$(sitearch)
22
- includedir = $(prefix)/include
23
- infodir = $(prefix)/share/info
24
- vendorlibdir = $(vendordir)/$(ruby_version)
25
- sysconfdir = $(DESTDIR)/etc
26
- libdir = $(exec_prefix)/lib
27
- sbindir = $(exec_prefix)/sbin
28
- rubylibdir = $(libdir)/ruby/$(ruby_version)
29
- docdir = $(datarootdir)/doc/$(PACKAGE)
30
- dvidir = $(docdir)
31
- vendordir = $(libdir)/ruby/vendor_ruby
32
- datarootdir = $(prefix)/share
33
- pdfdir = $(docdir)
34
- archdir = $(rubylibdir)/$(arch)
35
- sitearchdir = $(sitelibdir)/$(sitearch)
36
- datadir = $(datarootdir)
37
- localstatedir = $(DESTDIR)/var
38
- sitelibdir = $(sitedir)/$(ruby_version)
39
-
40
- CC = gcc
41
- LIBRUBY = $(LIBRUBY_SO)
42
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
43
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
44
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
45
-
46
- RUBY_EXTCONF_H =
47
- CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 -fPIC $(cflags) -Wall -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -pthread -I/usr/include/xulrunner-1.9.1/unstable -DXPCOM_GLUE -DDEFAULT_MOZILLA_FIVE_HOME='"/usr/lib/xulrunner-devel-1.9.1/lib"'
48
- INCFLAGS = -I. -I/home/kou/work/ruby/ruby-gnome2/gtk2/ext/gtk2 -I/home/kou/work/ruby/ruby-gnome2/gtk2/ext/gtk2 -I/home/kou/work/ruby/ruby-gnome2/gtk2/ext/gtk2 -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2 -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2 -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2 -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2/gtkmozembed/ext/gtkmozembed
49
- DEFS =
50
- CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_GTKMOZEMBED_GLUE_CPP -DRUBY_GTKMOZEMBED_COMPILATION
51
- CXXFLAGS = $(CFLAGS)
52
- ldflags = -L. -rdynamic -Wl,-export-dynamic -pthread -L/usr/lib/xulrunner-devel-1.9.1/lib -Wl,-rpath,/usr/lib/xulrunner-devel-1.9.1/lib
53
- dldflags =
54
- archflag =
55
- DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
56
- LDSHARED = $(CXX) -shared
57
- AR = ar
58
- EXEEXT =
59
-
60
- RUBY_INSTALL_NAME = ruby1.8
61
- RUBY_SO_NAME = ruby1.8
62
- arch = x86_64-linux
63
- sitearch = x86_64-linux
64
- ruby_version = 1.8
65
- ruby = /usr/bin/ruby1.8
66
- RUBY = $(ruby)
67
- RM = rm -f
68
- MAKEDIRS = mkdir -p
69
- INSTALL = /usr/bin/install -c
70
- INSTALL_PROG = $(INSTALL) -m 0755
71
- INSTALL_DATA = $(INSTALL) -m 644
72
- COPY = cp
73
-
74
- #### End of system configuration section. ####
75
-
76
- preload =
77
-
78
- libpath = . $(libdir)
79
- LIBPATH = -L. -L$(libdir)
80
- DEFFILE =
81
-
82
- CLEANFILES = mkmf.log
83
- DISTCLEANFILES = rbgtkmozembedversion.h gtkmozembed-enum-types.h gtkmozembed-enum-types.c
84
-
85
- extout =
86
- extout_prefix =
87
- target_prefix =
88
- LOCAL_LIBS =
89
- LIBS = $(LIBRUBYARG_SHARED) -lxpcomglue -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lpango-1.0 -lpangocairo-1.0 -lcairo -lgio-2.0 -latk-1.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lxpcomglue -ldl -lpthread -lrt -ldl -lcrypt -lm -lc
90
- SRCS = rbgtkmozembed.c gtkmozembed-enum-types.c rbgtkmozembed-init.c
91
- OBJS = rbgtkmozembed.o gtkmozembed-enum-types.o rbgtkmozembed-init.o
92
- TARGET = gtkmozembed
93
- DLLIB = $(TARGET).so
94
- EXTSTATIC =
95
- STATIC_LIB =
96
-
97
- BINDIR = $(bindir)
98
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
99
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
100
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
101
-
102
- TARGET_SO = $(DLLIB)
103
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
104
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
105
-
106
- all: $(DLLIB)
107
- static: $(STATIC_LIB)
108
-
109
- clean:
110
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
111
-
112
- distclean: clean
113
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
114
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
115
-
116
- realclean: distclean
117
- install: install-so install-rb
118
-
119
- install-so: $(RUBYARCHDIR)
120
- install-so: $(RUBYARCHDIR)/$(DLLIB)
121
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
122
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
123
- install-rb: pre-install-rb install-rb-default
124
- install-rb-default: pre-install-rb-default
125
- pre-install-rb: Makefile
126
- pre-install-rb-default: Makefile
127
- $(RUBYARCHDIR):
128
- $(MAKEDIRS) $@
129
-
130
- site-install: site-install-so site-install-rb
131
- site-install-so: install-so
132
- site-install-rb: install-rb
133
-
134
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
135
-
136
- .cc.o:
137
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
138
-
139
- .cxx.o:
140
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
141
-
142
- .cpp.o:
143
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
144
-
145
- .C.o:
146
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
147
-
148
- .c.o:
149
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
150
-
151
- $(DLLIB): $(OBJS) Makefile
152
- @-$(RM) $@
153
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
154
-
155
-
156
-
157
- ###
158
- install:
159
- if test -n "$(pkgconfigdir)"; then \
160
- $(MAKEDIRS) $(pkgconfigdir); \
161
- $(INSTALL_DATA) ../ruby-gtkmozembed.pc $(pkgconfigdir); \
162
- fi
163
-
@@ -1,103 +0,0 @@
1
-
2
- /* Generated by glib-mkenums.rb ($Id: glib-mkenums.rb 3990 2010-10-27 03:38:42Z ktou $) */
3
-
4
- #include "gtkmozembed-enum-types.h"
5
- #include <gtkmozembed.h>
6
-
7
-
8
-
9
- /* enumerations from "/usr/include/xulrunner-1.9.1/unstable/gtkmozembed.h" */
10
- GType
11
- gtk_moz_embed_progress_flags_get_type (void)
12
- {
13
- static GType etype = 0;
14
- if (etype == 0) {
15
- static const GFlagsValue values[] = {
16
- { GTK_MOZ_EMBED_FLAG_START, "GTK_MOZ_EMBED_FLAG_START", "start" },
17
- { GTK_MOZ_EMBED_FLAG_REDIRECTING, "GTK_MOZ_EMBED_FLAG_REDIRECTING", "redirecting" },
18
- { GTK_MOZ_EMBED_FLAG_TRANSFERRING, "GTK_MOZ_EMBED_FLAG_TRANSFERRING", "transferring" },
19
- { GTK_MOZ_EMBED_FLAG_NEGOTIATING, "GTK_MOZ_EMBED_FLAG_NEGOTIATING", "negotiating" },
20
- { GTK_MOZ_EMBED_FLAG_STOP, "GTK_MOZ_EMBED_FLAG_STOP", "stop" },
21
- { GTK_MOZ_EMBED_FLAG_IS_REQUEST, "GTK_MOZ_EMBED_FLAG_IS_REQUEST", "is-request" },
22
- { GTK_MOZ_EMBED_FLAG_IS_DOCUMENT, "GTK_MOZ_EMBED_FLAG_IS_DOCUMENT", "is-document" },
23
- { GTK_MOZ_EMBED_FLAG_IS_NETWORK, "GTK_MOZ_EMBED_FLAG_IS_NETWORK", "is-network" },
24
- { GTK_MOZ_EMBED_FLAG_IS_WINDOW, "GTK_MOZ_EMBED_FLAG_IS_WINDOW", "is-window" },
25
- { GTK_MOZ_EMBED_FLAG_RESTORING, "GTK_MOZ_EMBED_FLAG_RESTORING", "restoring" },
26
- { 0, NULL, NULL }
27
- };
28
- etype = g_flags_register_static ("GtkMozEmbedProgressFlags", values);
29
- }
30
- return etype;
31
- }
32
-
33
- GType
34
- gtk_moz_embed_status_flags_get_type (void)
35
- {
36
- static GType etype = 0;
37
- if (etype == 0) {
38
- static const GFlagsValue values[] = {
39
- { GTK_MOZ_EMBED_STATUS_FAILED_DNS, "GTK_MOZ_EMBED_STATUS_FAILED_DNS", "dns" },
40
- { GTK_MOZ_EMBED_STATUS_FAILED_CONNECT, "GTK_MOZ_EMBED_STATUS_FAILED_CONNECT", "connect" },
41
- { GTK_MOZ_EMBED_STATUS_FAILED_TIMEOUT, "GTK_MOZ_EMBED_STATUS_FAILED_TIMEOUT", "timeout" },
42
- { GTK_MOZ_EMBED_STATUS_FAILED_USERCANCELED, "GTK_MOZ_EMBED_STATUS_FAILED_USERCANCELED", "usercanceled" },
43
- { 0, NULL, NULL }
44
- };
45
- etype = g_flags_register_static ("GtkMozEmbedStatusFlags", values);
46
- }
47
- return etype;
48
- }
49
-
50
- GType
51
- gtk_moz_embed_reload_flags_get_type (void)
52
- {
53
- static GType etype = 0;
54
- if (etype == 0) {
55
- static const GFlagsValue values[] = {
56
- { GTK_MOZ_EMBED_FLAG_RELOADNORMAL, "GTK_MOZ_EMBED_FLAG_RELOADNORMAL", "normal" },
57
- { GTK_MOZ_EMBED_FLAG_RELOADBYPASSCACHE, "GTK_MOZ_EMBED_FLAG_RELOADBYPASSCACHE", "bypasscache" },
58
- { GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXY, "GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXY", "bypassproxy" },
59
- { GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXYANDCACHE, "GTK_MOZ_EMBED_FLAG_RELOADBYPASSPROXYANDCACHE", "bypassproxyandcache" },
60
- { GTK_MOZ_EMBED_FLAG_RELOADCHARSETCHANGE, "GTK_MOZ_EMBED_FLAG_RELOADCHARSETCHANGE", "charsetchange" },
61
- { 0, NULL, NULL }
62
- };
63
- etype = g_flags_register_static ("GtkMozEmbedReloadFlags", values);
64
- }
65
- return etype;
66
- }
67
-
68
- GType
69
- gtk_moz_embed_chrome_flags_get_type (void)
70
- {
71
- static GType etype = 0;
72
- if (etype == 0) {
73
- static const GFlagsValue values[] = {
74
- { GTK_MOZ_EMBED_FLAG_DEFAULTCHROME, "GTK_MOZ_EMBED_FLAG_DEFAULTCHROME", "defaultchrome" },
75
- { GTK_MOZ_EMBED_FLAG_WINDOWBORDERSON, "GTK_MOZ_EMBED_FLAG_WINDOWBORDERSON", "windowborderson" },
76
- { GTK_MOZ_EMBED_FLAG_WINDOWCLOSEON, "GTK_MOZ_EMBED_FLAG_WINDOWCLOSEON", "windowcloseon" },
77
- { GTK_MOZ_EMBED_FLAG_WINDOWRESIZEON, "GTK_MOZ_EMBED_FLAG_WINDOWRESIZEON", "windowresizeon" },
78
- { GTK_MOZ_EMBED_FLAG_MENUBARON, "GTK_MOZ_EMBED_FLAG_MENUBARON", "menubaron" },
79
- { GTK_MOZ_EMBED_FLAG_TOOLBARON, "GTK_MOZ_EMBED_FLAG_TOOLBARON", "toolbaron" },
80
- { GTK_MOZ_EMBED_FLAG_LOCATIONBARON, "GTK_MOZ_EMBED_FLAG_LOCATIONBARON", "locationbaron" },
81
- { GTK_MOZ_EMBED_FLAG_STATUSBARON, "GTK_MOZ_EMBED_FLAG_STATUSBARON", "statusbaron" },
82
- { GTK_MOZ_EMBED_FLAG_PERSONALTOOLBARON, "GTK_MOZ_EMBED_FLAG_PERSONALTOOLBARON", "personaltoolbaron" },
83
- { GTK_MOZ_EMBED_FLAG_SCROLLBARSON, "GTK_MOZ_EMBED_FLAG_SCROLLBARSON", "scrollbarson" },
84
- { GTK_MOZ_EMBED_FLAG_TITLEBARON, "GTK_MOZ_EMBED_FLAG_TITLEBARON", "titlebaron" },
85
- { GTK_MOZ_EMBED_FLAG_EXTRACHROMEON, "GTK_MOZ_EMBED_FLAG_EXTRACHROMEON", "extrachromeon" },
86
- { GTK_MOZ_EMBED_FLAG_ALLCHROME, "GTK_MOZ_EMBED_FLAG_ALLCHROME", "allchrome" },
87
- { GTK_MOZ_EMBED_FLAG_WINDOWRAISED, "GTK_MOZ_EMBED_FLAG_WINDOWRAISED", "windowraised" },
88
- { GTK_MOZ_EMBED_FLAG_WINDOWLOWERED, "GTK_MOZ_EMBED_FLAG_WINDOWLOWERED", "windowlowered" },
89
- { GTK_MOZ_EMBED_FLAG_CENTERSCREEN, "GTK_MOZ_EMBED_FLAG_CENTERSCREEN", "centerscreen" },
90
- { GTK_MOZ_EMBED_FLAG_DEPENDENT, "GTK_MOZ_EMBED_FLAG_DEPENDENT", "dependent" },
91
- { GTK_MOZ_EMBED_FLAG_MODAL, "GTK_MOZ_EMBED_FLAG_MODAL", "modal" },
92
- { GTK_MOZ_EMBED_FLAG_OPENASDIALOG, "GTK_MOZ_EMBED_FLAG_OPENASDIALOG", "openasdialog" },
93
- { GTK_MOZ_EMBED_FLAG_OPENASCHROME, "GTK_MOZ_EMBED_FLAG_OPENASCHROME", "openaschrome" },
94
- { 0, NULL, NULL }
95
- };
96
- etype = g_flags_register_static ("GtkMozEmbedChromeFlags", values);
97
- }
98
- return etype;
99
- }
100
-
101
-
102
- /* Generated data ends here */
103
-
@@ -1,26 +0,0 @@
1
-
2
- /* Generated by glib-mkenums.rb ($Id: glib-mkenums.rb 3990 2010-10-27 03:38:42Z ktou $) */
3
-
4
- #ifndef __GTKMOZEMBED_ENUM_TYPES_H__
5
- #define __GTKMOZEMBED_ENUM_TYPES_H__
6
-
7
- #include <glib-object.h>
8
-
9
- G_BEGIN_DECLS
10
-
11
- /* enumerations from "/usr/include/xulrunner-1.9.1/unstable/gtkmozembed.h" */
12
- GType gtk_moz_embed_progress_flags_get_type (void);
13
- #define GTK_TYPE_MOZ_EMBED_PROGRESS_FLAGS (gtk_moz_embed_progress_flags_get_type())
14
- GType gtk_moz_embed_status_flags_get_type (void);
15
- #define GTK_TYPE_MOZ_EMBED_STATUS_FLAGS (gtk_moz_embed_status_flags_get_type())
16
- GType gtk_moz_embed_reload_flags_get_type (void);
17
- #define GTK_TYPE_MOZ_EMBED_RELOAD_FLAGS (gtk_moz_embed_reload_flags_get_type())
18
- GType gtk_moz_embed_chrome_flags_get_type (void);
19
- #define GTK_TYPE_MOZ_EMBED_CHROME_FLAGS (gtk_moz_embed_chrome_flags_get_type())
20
-
21
- G_END_DECLS
22
-
23
- #endif /* __GTKMOZEMBED_ENUM_TYPES_H__ */
24
-
25
- /* Generated data ends here */
26
-
@@ -1,25 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbgtkmozembedversion.h -
5
-
6
- This file was generated by mkmf-gnome2.rb.
7
-
8
- ************************************************/
9
-
10
- #ifndef __RBGTKMOZEMBED_VERSION_H__
11
- #define __RBGTKMOZEMBED_VERSION_H__
12
-
13
- #define GTKMOZEMBED_MAJOR_VERSION (2)
14
- #define GTKMOZEMBED_MINOR_VERSION (0)
15
- #define GTKMOZEMBED_MICRO_VERSION (0)
16
- #define GTKMOZEMBED_TAG_VERSION (b7)
17
-
18
- #define GTKMOZEMBED_CHECK_VERSION(major,minor,micro) \
19
- (GTKMOZEMBED_MAJOR_VERSION > (major) || \
20
- (GTKMOZEMBED_MAJOR_VERSION == (major) && GTKMOZEMBED_MINOR_VERSION > (minor)) || \
21
- (GTKMOZEMBED_MAJOR_VERSION == (major) && GTKMOZEMBED_MINOR_VERSION == (minor) && \
22
- GTKMOZEMBED_MICRO_VERSION >= (micro)))
23
-
24
-
25
- #endif /* __RBGTKMOZEMBED_VERSION_H__ */
@@ -1,3 +0,0 @@
1
- Name: Ruby/GtkMozEmbed
2
- Description: Ruby bindings for Static library for version-independent embedding of the Mozilla runtime (unstable API)
3
- Version: 0.90.6