~mterry/bamf/c4

« back to all changes in this revision

Viewing changes to lib/libbamf/bamf-matcher.c

  • Committer: Tarmac
  • Author(s): Rico Tzschichholz
  • Date: 2012-10-08 11:55:05 UTC
  • mfrom: (488.1.1 bamf)
  • Revision ID: tarmac-20121008115505-cv1wawm1xgmtn6vb
Libbamf: Some signal, type and annotation fixes. Fixes: . Approved by Marco Trevisan (Treviño).

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
                  0, NULL, NULL,
98
98
                  g_cclosure_marshal_VOID__OBJECT,
99
99
                  G_TYPE_NONE, 1, 
100
 
                  G_TYPE_OBJECT);
 
100
                  BAMF_TYPE_VIEW);
101
101
 
102
102
  matcher_signals [VIEW_CLOSED] = 
103
103
    g_signal_new ("view-closed",
106
106
                  0, NULL, NULL,
107
107
                  g_cclosure_marshal_VOID__OBJECT,
108
108
                  G_TYPE_NONE, 1, 
109
 
                  G_TYPE_OBJECT);
 
109
                  BAMF_TYPE_VIEW);
110
110
 
111
111
 
112
112
  matcher_signals [ACTIVE_APPLICATION_CHANGED] = 
116
116
                  0, NULL, NULL,
117
117
                  _bamf_marshal_VOID__OBJECT_OBJECT,
118
118
                  G_TYPE_NONE, 2, 
119
 
                  G_TYPE_OBJECT, G_TYPE_OBJECT);
 
119
                  BAMF_TYPE_VIEW, BAMF_TYPE_VIEW);
120
120
 
121
121
  matcher_signals [ACTIVE_WINDOW_CHANGED] = 
122
122
    g_signal_new ("active-window-changed",
125
125
                  0, NULL, NULL,
126
126
                  _bamf_marshal_VOID__OBJECT_OBJECT,
127
127
                  G_TYPE_NONE, 2, 
128
 
                  G_TYPE_OBJECT, G_TYPE_OBJECT);
 
128
                  BAMF_TYPE_VIEW, BAMF_TYPE_VIEW);
129
129
 
130
130
  matcher_signals [STACKING_ORDER_CHANGED] = 
131
131
    g_signal_new ("stacking-order-changed",
729
729
/**
730
730
 * bamf_matcher_register_favorites:
731
731
 * @matcher: a #BamfMatcher
732
 
 * @favorites: an array of strings, each containing an absolute path to a .desktop file
 
732
 * @favorites: (array): an array of strings, each containing an absolute path to a .desktop file
733
733
 *
734
734
 * Used to effect how bamf performs matching. Desktop files passed to this method will
735
735
 * be prefered by bamf to system desktop files.