~unity-team/bamf/xenial

« back to all changes in this revision

Viewing changes to src/bamf-legacy-window-test.c

  • Committer: CI Train Bot
  • Author(s): Andrea Azzarone
  • Date: 2016-04-15 11:57:23 UTC
  • mfrom: (629.1.11 bamf-export-actions-menu)
  • Revision ID: ci-train-bot@canonical.com-20160415115723-1f7bwhsiem1gqt4x
BamfWindow: Export window actions menu using dbusmenu Fixes: #1570812
Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
  return g_strdup (BAMF_LEGACY_WINDOW_TEST (window)->icon);
437
437
}
438
438
 
 
439
GtkWidget *
 
440
bamf_legacy_window_test_get_action_menu (BamfLegacyWindow *window)
 
441
{
 
442
  return NULL;
 
443
}
 
444
 
439
445
void
440
446
bamf_legacy_window_test_show_action_menu (BamfLegacyWindow *window, guint32 time, guint button, gint x, gint y)
441
447
{}
492
498
  win_class->is_closed        = bamf_legacy_window_test_is_closed;
493
499
  win_class->get_hint         = bamf_legacy_window_test_get_hint;
494
500
  win_class->set_hint         = bamf_legacy_window_test_set_hint;
 
501
  win_class->get_action_menu  = bamf_legacy_window_test_get_action_menu;
495
502
  win_class->show_action_menu = bamf_legacy_window_test_show_action_menu;
496
503
  win_class->reopen           = bamf_legacy_window_test_reopen;
497
504
}